Results for: Digital-loop-carrier

Write a program In java using while loop to reverse the digits of the number?

import*; class ReverseNumber { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(; (MORE)

What type of loop is the do-while loop?

The do-while loop is a looping structure. This looping structure is an exit controlled loop. that means the loop executes at-least once before the test expression is checked. (MORE)

Using if condition and while loop in C get a number of input from the keyboard and calculate the sum of odd and even digits separately?

include #include void main() { int num,num_save; int ar[5],i=0,res_e=0,res_o=0; printf("\\nEnter the number : "); scanf("%d",&num); num_save=num; while(num_s (MORE)

What is the answer to 20c plus 5 equals 5c plus 65?

20c + 5 = 5c + 65 Divide through by 5: 4c + 1 = c + 13 Subtract c from both sides: 3c + 1 = 13 Subtract 1 from both sides: 3c = 12 Divide both sides by 3: c = 4
Thanks for the feedback!

How do you write a C program to check for Armstrong numbers in three digit values from 100 to 999 using do while loop?

include // defines CHAR_BIT   #include // defines pow()   #include // defines printf()    bool is_armstrong (const int n, const int b=10) {     // Ret (MORE)