Write a program to input a three digit number and print the digit at 1’s place, 100’s place and 1000’s place one by one separated by a single line.
Write a program to input a three digit number and print the digit at 1’s place, 100’s place and 1000’s place one by one separated by a single line.
Draw the flowchart to check that whether the entered number is a duck number or not.
Take a float input from the user and type cast it to int and print it on the screen.
If a five-digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits. For example if the number that is input is 12391 then the output should be displayed as 23402.
If the marks obtained by a student in five different subjects are input through the keyboard, find out the aggregate marks and percentage marks obtained by the student. Assume that the maximum marks that can be obtained by a student in each subject is 100.
Step by step
Solved in 3 steps with 1 images