Easy Coding

Easy Coding

Share

To teach people about the world of the technology

Write a program to accept marks of five subjects from the user and calculate their average. 13/11/2021

void main() { int mark1 , mark2 , mark3 , mark4 , mark5 , total; float average; printf ( "\nEnter marks of 1st Subject : " ); scanf ( "%d" , &mark1 ); printf ( "\nEnter marks of 2nd Subject : " ); scanf ( "%d" , &mark2 ); printf ( "\nEnter marks of 3rd Subject : " ); …...

Write a program to accept marks of five subjects from the user and calculate their average. void main() { int mark1 , mark2 , mark3 , mark4 , mark5 , total; float average; printf ( “ Enter marks of 1st Subject : ” ); scanf ( “%d” , &mar…

Check that a given number is a prime number or not. 13/09/2021

include void main(){int num , i , FactorCount=0;printf ( "\nEnter a Number : " );scanf ( "%d" , &num );for ( i = 1 ; i

Check that a given number is a prime number or not. include void main(){int num , i , FactorCount=0;printf ( “ Enter a Number : ” );scanf ( “%d” , &num );for ( i = 1 ; i

Want your school to be the top-listed School/college in Patna?
Click here to claim your Sponsored Listing.

Address


City Chowk
Patna
800008