Learn C Language Online

Learn C Language Online

Share

12/05/2021

Whatsapp : https://wa.me/918128166631

06/11/2017

uname Admin
password 112285

void main()
{
char username[10];
int pass;
printf("Enter Username : ");
scanf("%s",username);
printf("\nEnter Password");
scanf("%d",&pass);

if(username!=uname)
printf("\nUsername is wrong");
else if (pass!=password)
printf("\nWrong Password");
else
printf("Login Successfully");

getch();
}

13/01/2017

Updated version of 'C Solutions' coming soon...
With tutorials
And more than 100 new programming excersis...

11/12/2016

QUESTION:
------------
Given the radius of a circle, write a program to compute and display its area.
Use a symbolic constant to define the p value and assume a suitable value for
radius.

CODDING:
----------


PIE 3.14
void main()
{
clrscr();
float Rad,Area;Rad=4;
Area=PIE*Rad*Rad;
printf("Area of a circle is--> %f",Area);
getch();
}

OUTPUT:
-----------
Area of a circle is 50.240002

Want your business to be the top-listed Computer & Electronics Service in Surat?
Click here to claim your Sponsored Listing.

Telephone

Address


Surat
395010