Easy Coding

Easy Coding To teach people about the world of the technology

  void main() { int mark1 , mark2 , mark3 , mark4 , mark5 , total; float average; printf ( "\nEnter marks of 1st Subject...
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 : " ); …...

void main() { int mark1 , mark2 , mark3 , mark4 , mark5 , total; float average; printf ( “ Enter marks of 1st Subject : ” ); scanf ( “%d” , &mar…

  void main() { int num1 , num2 , temp1 , temp2 , rem1 , rem2 , sum=0; printf ( "\nEnter 1st Number : " ); scanf ( "%d" ...
13/11/2021

void main() { int num1 , num2 , temp1 , temp2 , rem1 , rem2 , sum=0; printf ( "\nEnter 1st Number : " ); scanf ( "%d" , &num1 ); printf ( "\nEnter 2nd Number : " ); scanf ( "%d" , &num2 ); temp1 = num1; while ( temp1 > 0 ) { rem1 = temp1 % 10; …...

void main() { int num1 , num2 , temp1 , temp2 , rem1 , rem2 , sum=0; printf ( “ Enter 1st Number : ” ); scanf ( “%d” , &num1 ); printf ( “…

 #!/bin/bash for i in {1..100} do mkdir data/dir$i for j in {1..100} do touch data/dir$i/$j.txt done done echo "Director...
01/10/2021

#!/bin/bash for i in {1..100} do mkdir data/dir$i for j in {1..100} do touch data/dir$i/$j.txt done done echo "Directories and Files are created successfully." Output: Directories and Files are created successfully.

#!/bin/bash for i in {1..100} do mkdir data/dir$i for j in {1..100} do touch data/dir$i/$j.txt done done echo “Directories and Files are created successfully.” Output: Directories and F…

 #!/bin/bash add(){echo $(( $1 + $2 ))} subtract(){echo $(( $1 - $2 ))} multiply(){echo $(( $1 * $2 ))} divide(){echo $(...
27/09/2021

#!/bin/bash add(){echo $(( $1 + $2 ))} subtract(){echo $(( $1 - $2 ))} multiply(){echo $(( $1 * $2 ))} divide(){echo $(( $1 / $2 ))} mod(){echo $(( $1 % $2 ))} while true;do echo "What do you want?"echo "1. Addition"echo "2. Subtraction"...

#!/bin/bash add(){echo $(( $1 + $2 ))} subtract(){echo $(( $1 – $2 ))} multiply(){echo $(( $1 * $2 ))} divide(){echo $(( $1 / $2 ))} mod(){echo $(( $1 % $2 ))} while true;do echo “What …

read –p “Enter first number : ” num1 read –p “Enter second number : ” num2 echo “$num1 + $num2 = $(( num1 + num2 ))” Out...
25/09/2021

read –p “Enter first number : ” num1 read –p “Enter second number : ” num2 echo “$num1 + $num2 = $(( num1 + num2 ))” Output: Enter first number : 5 Enter second number : 6 5 + 6 = 11

read –p “Enter first number : ” num1 read –p “Enter second number : ” num2 echo “$num1 + $num2 = $(( num1 + num2 ))” Output: Enter first number : 5 Enter second number : 6 5 + 6 = 11…

    void main() { float num1 , num2 , res; printf ( "\nEnter 1st Number : " ); scanf ( "%f" , &num1 ); printf ( "\nEnter...
25/09/2021

void main() { float num1 , num2 , res; printf ( "\nEnter 1st Number : " ); scanf ( "%f" , &num1 ); printf ( "\nEnter 2nd Number : " ); scanf ( "%f" , &num2 ); res = fmod (num1 , num2); printf ( "\n%.2f mod %.2f = %.2f" , num1 , num2 , res ); } Output: Enter 1st Number : 5Enter 2nd Number : 25.00 mod 2.00 = 1.00

void main() { float num1 , num2 , res; printf ( “ Enter 1st Number : ” ); scanf ( “%f” , &num1 ); printf ( “ Enter…

  void main() { char ch; printf ( "\nEnter a character : " ); scanf ( "%c" , &ch ); if ( ch == 'A' || ch == 'E' || ch ==...
14/09/2021

void main() { char ch; printf ( "\nEnter a character : " ); scanf ( "%c" , &ch ); if ( ch == 'A' || ch == 'E' || ch == 'I' || ch == 'O' || ch == 'U' || ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u') …...

void main() { char ch; printf ( “ Enter a character : ” ); scanf ( “%c” , &ch ); if ( ch == ‘A’ || ch == ‘E’ || ch == & #…

  void main() { int num; printf ( "\nEnter a Number : " ); scanf ( "%d" , &num ); switch ( num > 0 ) { case 1: printf ( ...
13/09/2021

void main() { int num; printf ( "\nEnter a Number : " ); scanf ( "%d" , &num ); switch ( num > 0 ) { case 1: printf ( "\n%d is a positive number." , num ); break; case 0: switch ( num < 0 ) { case 1: printf ( "\n%d is a negative number." , num ); …...

void main() { int num; printf ( “ Enter a Number : ” ); scanf ( “%d” , &num ); switch ( num > 0 ) { case 1: printf ( “ %d is a positiv…

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

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

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

  void main() { int num1 , num2 , res , ch='S'; printf ( "\nWhat do you want?" "\n1. Addition (Press A)" "\n2. Subtracti...
12/09/2021

void main() { int num1 , num2 , res , ch='S'; printf ( "\nWhat do you want?" "\n1. Addition (Press A)" "\n2. Subtraction (Press S)" "\n3. Multiplication (Press M)" "\n4. Division (Press D)" "\n5. Modulation (Press X)" "\n Your choice : " ); scanf ( "%c" , &ch ); printf ( "\nEnter 1st Number : " ); scanf ( "%d" , &num1 ); …...

void main() { int num1 , num2 , res , ch=’S’; printf ( “ What do you want?” “ 1. Addition (Press A)” “ 2. Subtraction (Press S)&…

    void main() { int ch=0, num1, num2; //to store the numbers and their result clrscr(); //to clear the output screen p...
28/08/2021

void main() { int ch=0, num1, num2; //to store the numbers and their result clrscr(); //to clear the output screen printf ( "\nEnter the 1st number : "); scanf ( "%d" , &num1 ); printf ( "\nEnter the 2nd number : "); scanf ( "%d" , &num2 ); printf ( "\nWhat do you want to do?" ); printf ( "\n1.Addition 2.Subtraction" );...

void main() { int ch=0, num1, num2; //to store the numbers and their result clrscr(); //to clear the output screen printf ( “ Enter the 1st nu…

    void main() { int num1, num2; //to store the numbers and their result clrscr(); //to clear the output screen printf ...
21/08/2021

void main() { int num1, num2; //to store the numbers and their result clrscr(); //to clear the output screen printf ( "\nEnter the 1st number: "); scanf ( "%d" , &num1 ); printf ( "\nEnter the 2nd number: "); scanf ( "%d" , &num2 ); if ( num1 < num2 ) //to check the condition printf ( "\n%d is smaller than %d" , num1 , num2 );...

void main() { int num1, num2; //to store the numbers and their result clrscr(); //to clear the output screen printf ( “ Enter the 1st number: …

Address

City Chowk
Patna
800008

Alerts

Be the first to know and let us send you an email when Easy Coding posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Easy Coding:

Share