Posts

Showing posts from May, 2023

Program to test if/else

Image
  Program to test if/else

Prpgram to check if a number is even or odd

Image
  Prpgram to check if a number is even or odd

Program to find the maximum among the three numbers

Image
  Program to find the maximum among the three numbers

Program to print all the odd numbers till "n".

Image
  Program to print all the odd numbers till "n".

Program to print all the even numbers till "n".

Image
  Program to print all the even numbers till "n".

Print number from 1 to 100, skip nos. divisible by 3.

Image
  Print number from 1 to 100, skip nos. divisible by 3.

Program to display multiplication table upto 10.(for loop)

Image
 

find sum of n natural numbers.

Image