C & Python Introduction
Upcoming SlideShare
Loading in...5
×
 

C & Python Introduction

on

  • 219 views

Programming basics course

Programming basics course
Basic , c & Python

Statistics

Views

Total Views
219
Views on SlideShare
214
Embed Views
5

Actions

Likes
0
Downloads
4
Comments
0

1 Embed 5

http://www.edmodo.com 5

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

C & Python Introduction C & Python Introduction Presentation Transcript

  • Eng Saad
  • #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