Java

Java

JavaF

Subtract Largest Integer

The program must accept N positive integers as the input. The program must subtract the integers from the largest integer among the N integers…
JavaF

Solve Sudoku

The program must accept an integer matrix of size 9×9 representing a sudoku as the input. The sudoku matrix contains the…
JavaF

Sudoku Validity

Given a 9×9 sudoku the program must evaluate it for its correctness. The program must check both the sub matrix correctness and the entire…
JavaF

Betting game – Diceroll

In a betting game involving the roll of a dice, Sandeep gains Rs.X if an odd number turns up and he loses Rs.Y is an even number turns up. The…
JavaF

Next Number Palindrome

Given a number N, the program must print the next palindromic number P.  Boundary Conditions:9 < N < 100000  Input Format:First…
JavaF

Convert rupees to paise

A floating point value F indicating the amount in rupees is passed as input. The program must print the corresponding value in paise.Note: 1…
JavaF

Reverse Number sign

An integer value N is passed as the input. The program must reverse the sign of N and print -N as the output. Input Format:The first line…