Upcoming SlideShare
×

Like this presentation? Why not share!

# C & Python Introduction

## on Apr 23, 2013

• 219 views

Programming basics course

Programming basics course
Basic , c & Python

### Views

Total Views
219
Views on SlideShare
214
Embed Views
5

Likes
0
4
0

### 1 Embed5

 http://www.edmodo.com 5

### Report content

• Comment goes here.
Are you sure you want to

## C & Python IntroductionPresentation Transcript

• #include <stdio.h>int main(void){printf("hello world");getch();}
• #include <stdio.h>int main(void){int X;}
• #include <stdio.h>#include <conio.h>int main(void){int n1;int n2;int sum;printf(“First Number ");scanf("%d",&n1);printf(“Second Number ");scanf("%d",&n2);sum=n1+n2;printf("%d",sum);getch();}
• #include <stdio.h>#include <conio.h>int main(void){int x;x = 9%4 ;printf("%d",x);getch();}
• #include <stdio.h>#include <conio.h>int main(void){ /*comment*/int x;x = 6 + 9 * 2 ;printf("%dn",x);getch();}
• >>> print ("hello")hello>>> 2+24>>> 9-81>>> 9/91.0>>> 9*19>>> 9/24.5
• Exponential>>> 2*2*28>>> 2**38>>> 8**264
• >>> x=9>>> y=8>>> z=x+y>>> z17
• >>> x= input(“Enter Number Here")Enter Number Here 3>>> x3‘>>> s=5>>> s5