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
Colombo
Red Hat Certified System Administrator (RHCSA) - RHEL 10
Sanjeewani95
Updated:
Friday at 7:43 PM
NURSING , CAREGIVER , HOTEL & BEAUTY COURSES
IVA Para Medical Campus
Updated:
Thursday at 9:24 AM
Handmade Character Soft Toys Peppa Pig Family
anil1961
Updated:
Wednesday at 9:58 PM
Ad icon
Video Content Creator
pramukag
Updated:
Jun 28, 2026
Ad icon
QA Engineer Intern
pramukag
Updated:
Jun 28, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
Hey guys guys... i developed my first c program. it is simple.. please check it !!
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="x-pert" data-source="post: 3388257" data-attributes="member: 837"><p>ElaKiri machang. Good job. </p><p></p><p>Next step should be to validate the input. </p><p></p><p>Try it out <img src="/styles/default/xenforo/smilies/default/D.gif" class="smilie" loading="lazy" alt=":D" title="Big grin :D" data-shortname=":D" /> </p><p></p><p><strong>Hint: </strong></p><p>You might need to enter a masking aftr every input like</p><p>printf("\n Enter First No\n");</p><p> scanf("%d", &a);</p><p>if (a>=-9999 && a<9999) printf("Enter second number") scanf("bla bla")</p><p>else printf("invalid input... please enter a valid number again")</p></blockquote><p></p>
[QUOTE="x-pert, post: 3388257, member: 837"] ElaKiri machang. Good job. Next step should be to validate the input. Try it out :D [B]Hint: [/B] You might need to enter a masking aftr every input like printf("\n Enter First No\n"); scanf("%d", &a); if (a>=-9999 && a<9999) printf("Enter second number") scanf("bla bla") else printf("invalid input... please enter a valid number again") [/QUOTE]
Insert quotes…
Verification
Awruddata maasa keeyada?
Post reply
Top
Bottom