Sunday, July 1, 2018

C program to simple calculator using function

WAP in C to make simple calculator using user defined function


It's a C program through which you can make Simple Calculator through User Defined Function.
In it we can do addition of two numbers, subtraction of two number , multiplication of two number an division of two numbers ,But on our need we can increase the variables and be able to do many numbers addition ,subtraction , multiplication and division .
Here we have use fflush(stdin); function to take standard input as after entering integer value we can't take string characters so to take string we use this function..


C program to display ASCII value of alphabet


WAP in C to print alphabets from A to Z

This program is made to display ASCII value of alphabets. The ASCII value of A-Z is 65-91.this program will all capital letter alphabet  with a time delay of 1 sec.
Here we use delay() to use time which is in dos.h header file  ,we have to enter time in millisecond because it takes time in millisecond...

IND vs AUS: Smith & Labuschagne Holds Fort As Fourth Test Ends Up In A Stalemate

  Beginning on 158 after Tea for the loss of two wickets for visiting Australian side with two stalwarts Steve Smith and   Marnus Labuschagn...