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
Pure VPN - Up to 27 Months
vgp
Updated:
Friday at 8:10 AM
එක පැකේජ් එකයි මාසෙටම Unlimited Internet. තාමත් DATA CARD දාන්න සල්ලි වියදම් කරනවද? අඩුම මිලට අපෙන්.
sayuru bandara
Updated:
Tuesday at 12:30 PM
Ad icon
ඉන්ටර්නෙට් එකෙන් හරියටම සල්ලි හොයන්න සහ Success වෙන්න කැමතිද? 🚀 (E-Money & Success Stories)
siri sumana
Updated:
May 30, 2026
Gemini AI PRO 18 months Offer
Hawaka
Updated:
May 27, 2026
Ad icon
koko account
DasunEranga
Updated:
May 27, 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
Hath warak paha keeyada? (hatha wadikireema paha)
Post reply
Top
Bottom