Successfully reported this slideshow.
Upcoming SlideShare
Loading in …5
×

# C & Python Introduction

560 views

Published on

Programming basics course
Basic , c & Python

Published in: Technology, Education
• Full Name
Comment goes here.

Are you sure you want to Yes No
Your message goes here
• Be the first to comment

• Be the first to like this

### C & Python Introduction

1. 1. Eng Saad
2. 2. #include <stdio.h>int main(void){printf("hello world");getch();}
3. 3. #include <stdio.h>int main(void){int X;}
4. 4. #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();}
5. 5. #include <stdio.h>#include <conio.h>int main(void){int x;x = 9%4 ;printf("%d",x);getch();}
6. 6. #include <stdio.h>#include <conio.h>int main(void){ /*comment*/int x;x = 6 + 9 * 2 ;printf("%dn",x);getch();}
7. 7. >>> print ("hello")hello>>> 2+24>>> 9-81>>> 9/91.0>>> 9*19>>> 9/24.5
8. 8. Exponential>>> 2*2*28>>> 2**38>>> 8**264
9. 9. >>> x=9>>> y=8>>> z=x+y>>> z17
10. 10. >>> x= input(“Enter Number Here")Enter Number Here 3>>> x3‘>>> s=5>>> s5