Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
ඕනම රටකට සෙට් වෙන CV එකක්
ErMurazor
Updated:
Yesterday at 9:50 AM
Hambantota
7 Acres Beachfront Land For Sell DownSouth , PerPerch Price 420 000
1024 Digital
Updated:
Wednesday at 11:57 AM
Baseus PI LITE INDOOR CAMERA
ErMurazor
Updated:
Monday at 12:26 PM
Ad icon
Colombo
Hard Disk For Sale
mazza
Updated:
Oct 10, 2026
land for sale
justasking
Updated:
Oct 10, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
ElaKiri Help
C help
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Hecker" data-source="post: 28125194" data-attributes="member: 580416"><p><strong><span style="font-size: 26px"><span style="color: rgb(184, 49, 47)">menna code eka</span></span></strong></p><p></p><p>#include <stdio.h></p><p>int main()</p><p>{</p><p> /*name*/</p><p> char name[20];</p><p> printf("What is your name? ");</p><p> //scanf("%s",&name);</p><p> fgets(name,20,stdin);</p><p> printf("Your name is %s. \n",name);</p><p></p><p> /*age*/</p><p> int age;</p><p> printf("What is your age now? ");</p><p> scanf("%d",&age);</p><p> printf("You are %d years old\n",age);</p><p></p><p> /*gpa*/</p><p> float gpa;</p><p> printf("What is your gpa? ");</p><p> scanf("%f",&gpa);</p><p> printf("My gpa is %f.\n",gpa);</p><p></p><p> //food</p><p> char food[20];</p><p> printf("What is your favourite food? ");</p><p> fgets(food,20,stdin);</p><p> printf("Your favourite food is %s.",food);</p><p></p><p> return 0;</p><p>}</p><p></p><p><span style="font-size: 26px"><strong><span style="color: rgb(0, 168, 133)">Output eka eddi food kiyana input eka ganne scanf walin gannawa fgets walin space thiyanna puluwan nisa damme!</span></strong></span></p><p></p><p>What is your name? Perera S</p><p>Your name is Perera S</p><p>.</p><p>What is your age now? 20</p><p>You are 20 years old</p><p>What is your gpa? 2.5</p><p>My gpa is 2.500000.</p><p>What is your favourite food? Your favourite food is</p><p>.</p><p>Process returned 0 (0x0) execution time : 20.708 s</p><p>Press any key to continue.</p><p></p><p>mokakkda awla meke ??????</p></blockquote><p></p>
[QUOTE="Hecker, post: 28125194, member: 580416"] [B][SIZE=7][COLOR=rgb(184, 49, 47)]menna code eka[/COLOR][/SIZE][/B] #include <stdio.h> int main() { /*name*/ char name[20]; printf("What is your name? "); //scanf("%s",&name); fgets(name,20,stdin); printf("Your name is %s. \n",name); /*age*/ int age; printf("What is your age now? "); scanf("%d",&age); printf("You are %d years old\n",age); /*gpa*/ float gpa; printf("What is your gpa? "); scanf("%f",&gpa); printf("My gpa is %f.\n",gpa); //food char food[20]; printf("What is your favourite food? "); fgets(food,20,stdin); printf("Your favourite food is %s.",food); return 0; } [SIZE=7][B][COLOR=rgb(0, 168, 133)]Output eka eddi food kiyana input eka ganne scanf walin gannawa fgets walin space thiyanna puluwan nisa damme![/COLOR][/B][/SIZE] What is your name? Perera S Your name is Perera S . What is your age now? 20 You are 20 years old What is your gpa? 2.5 My gpa is 2.500000. What is your favourite food? Your favourite food is . Process returned 0 (0x0) execution time : 20.708 s Press any key to continue. mokakkda awla meke ?????? [/QUOTE]
Insert quotes…
Verification
Hathara warak wissa keeyada? (Hathara wadi karanna 20)
Post reply
Top
Bottom