Friday, 31 August 2012
Calculating Percentage & Grade
00:45
No comments
#include <stdio.h>#include <conio.h>void main(){ int sub1, sub2, sub3, sub4, sub5; float total, percentage; clrscr(); printf("\n\n\n***Program to Calculate Grade***\n\n\n"); printf("Enter the obtained marks of Subject 1 : "); scanf("%d",&sub1); ...
Sunday, 26 August 2012
Calculating Grand Total on Discount
22:51
7 comments
#include <stdio.h>#include <conio.h>void main(){ clrscr(); int a, b, c, d, e; float total, discount, discountAmt, grandTotal; printf("Enter the 1st amount : "); ...
Convert Character to ASCII Code
21:42
124 comments
#include <stdio.h>#include <conio.h>void main(){ char a; clrscr(); printf("Enter a character : "); scanf("%c",&a); ...
Wednesday, 22 August 2012
Greatest value between Three Numbers
06:32
1 comment
#include <stdio.h>#include <conio.h>void main(){ int a,b,c; clrscr(); printf("Enter the A number : "); scanf("%d",&a); ...
Subscribe to:
Posts (Atom)