Questions: 11 448

Answers by our Experts: 10 707

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Looping problem:-

Input two positive integers a and b from the user. Determine the remainder of a/b. Assume that the division and modulus operators are not available.


Looping problem:-

Input two positive integers a and b from the user. Determine the integer quotient of a/b. Assume that the division operator is not available.


Looping problem:-

Write an if-else statement that outputs the word "Warning" provided that either the value of the variable temperature is greater than or equal to 100, or the value of the variable pressure is greater than or equal to 200, or both. Otherwise, the if-else statement outputs the work "OK".


Three numbers denoted by the variables A, B and C are supplied as input data. Print these three numbers in ascending order.


Looping problem:

Multiply a number with the sum of its digits.


Input a number and display that how many digits it has.


Given a 1D integer array of size n. Range of elements is natural numbers from 1 to n. One number is missing, and one occurs twice. Your task is to find these two numbers.


For example: Arr[9] : 5 6 4 3 2 1 3 7 9 Missing element: 8


Element that occurs twice: 3

Input a positive integer from the user and determine whether the number is a prime number or not.

Input a positive integer from the user and determine whether the number is a perfect number or not.


Note: A perfect number is a positive integer that is equal to the sum of its proper positive divisors, that is, the


sum of its positive divisors excluding the number itself.

Input 10 numbers, and display smallest number


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS