Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Save to My Library
Look up keyword
Like this
6Activity
0 of .
Results for:
No results containing your search query
P. 1
C Programs

C Programs

Ratings:

2.5

(2)
|Views: 332 |Likes:
Published by njpatel9

More info:

Published by: njpatel9 on Feb 12, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOCX, PDF, TXT or read online from Scribd
See more
See less

03/15/2011

pdf

text

original

 
For More programs visithttp://programeansic.blogspot.com
PROGRAME:-1
Write a programe for following output.
Output
 
:-
 
Hello world
Input:-
#include<stdio.h>#include<conio.h>void main( ){int a;clrscr( );printf("Hello world");getch( );}
PROGRAME:-2
Write a programe for following output
.
Output
:-
Hello worldHow are you?
Input:-
#include<stdio.h>#include<conio.h>void main( ){
Visit http://programeansic.blogspot.com
 
int a;clrscr( );printf("Hello world");printf("How are you?");getch( );}
PROGRAME:-3
Write a programe for following output.
Output
:-
Hello worldHow are you?
Input:-
#include<stdio.h>#include<conio.h>void main( ){int a;clrscr( );printf("Hello world");printf("\nHow are you?");getch( );}
PROGRAME:-4
Write a programe for following output.
Output
:-
Hello world How are you?
Input:-
#include<stdio.h>#include<conio.h>void main( ){clrscr( );printf("Hello world");printf("\tHow are you?");getch( );
Visit http://programeansic.blogspot.com
 
}
PROGRAME:-5
Write a programe for print your address in centerof output screen.
Input:-
#include<stdio.h>#include<conio.h>void main( ){clrscr( );printf("\n\t\t\tPatel Ankit");printf("\n\t\t\t12\Sardar Bunglows");printf("\n\t\t\tShivaji chowk, Shahibagh");printf("\n\t\t\tAhmedabad");getch( );}
Output:-
Output will be print in centre of screen.
PROGRAME:-6
Write a programe for calculation of addition, sub,multy, div of given
two number.
Input:-
#include<stdio.h>#include<conio.h>void main( ){int a,b,c;float d;clrscr( );printf("Enter first no: ");scanf("%d",&a);printf("Enter second no: ");scanf("%d",&b);c=a+b;
Visit http://programeansic.blogspot.com

Activity (6)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
Shivam Sharma liked this
sonu43 liked this
harpreet liked this
mar liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->