Posts

Showing posts from May, 2022

Nested loop.

Loop Control Statements

write a program to calculate the sum of all numbers from 1 and 100.

write a program to print reverse of the table for a number n.

write a program to print the factorial of a number n.

write a program to print all the odd numbers from 1 to 100.

program to (keep taking number as input from user until user enters a number which is multiple of 5.)

write a program (keep taking numbers as input from user until user enters an Odd number)

Write a program to print the table of number input by the user.

write a program to print the sum of first n natural numbers and also, print them in reverse.

write a program to Print the sum of first n natural numbers.

write a program to print the numbers from 0 to n, if n is given by user.

Write a program to print values from 0 to 100 and vice versa.

Write a program to find if a character entered by user is upper case or lower case.

What will be the output of this code

Write a program to print the grades to a student.

Write a program to check if a student passed or failed.

Conditional Statements.