Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~305 People Reached
Favorite Forums
Favorite Tags
c x 2
Member Avatar for eranga246

[CODE]#include<stdio.h> #include<conio.h> void main(){ char x; int result,a,b; printf("type the first number\n"); scanf("%d",&a); printf("enter the operand\n"); scanf("%d",&x); printf("type the second number\n"); scanf("%d",&b); switch(x){ case '+': result=a+b; printf("value is:%d",result); break; case '-': result=a-b; printf("value is:%d",result); break; case '*': result=a*b; printf("value is:%d",result); break; case '/': result=a/b; printf("value is:%d",result); break; case '%': result=a%b; …

Member Avatar for deceptikon
0
104
Member Avatar for eranga246

[CODE]#include<stdio.h> #include<conio.h> int main(){ float Area; float r,h; #define pi 3.41; printf("enter the radius of the circle in centimeters\n"); scanf("%f",&r); printf("enter the height of the cilinder in centimeters\n"); scanf("%f",&h); Area=(pi*r*r)+(pi*r*h); printf("THE AREA OF THE CILINDER IS:%f",&Area); return 0; getch(); } [/CODE]

Member Avatar for gusano79
0
135
Member Avatar for eranga246

hey buddies,.. im new to Daniweb.first let me introduce myself.My name is Eranga, im a ICT undergraduate at Rajarata University of Srilanka. im kinda new to the IT field,so i guess i'll get good feed backs and responses to my thread. i know a little bit of Java.and still learning …

Member Avatar for Netcode
0
66