10 Answers
+ 4
It's little hard when you have to give multiple inputs... so use another ide for c
4th Apr 2019, 12:48 PM
šŸ‡®šŸ‡³OmkaršŸ•‰
šŸ‡®šŸ‡³OmkaršŸ•‰ - avatar
+ 5
int age; //not an array scanf("%d",&age); printf ("%s is my name and lam %d years olds\n",myname,age); // missing comma
4th Apr 2019, 5:41 AM
Anna
Anna - avatar
+ 3
On sololearn you have to give input first not in run time... Do this... When that window comes for input write your name give space and then your age.. like Everything 32
4th Apr 2019, 12:46 PM
šŸ‡®šŸ‡³OmkaršŸ•‰
šŸ‡®šŸ‡³OmkaršŸ•‰ - avatar
+ 2
Change int age[2]; to int age;
4th Apr 2019, 6:36 AM
Anna
Anna - avatar
+ 2
Remove int age[15] ..and use int age; only you don't need to use an array for age it can be easily done by using int
4th Apr 2019, 12:41 PM
šŸ‡®šŸ‡³OmkaršŸ•‰
šŸ‡®šŸ‡³OmkaršŸ•‰ - avatar
+ 1
I just started coding recently so I have a lot of things to learn and use.
4th Apr 2019, 12:51 PM
Eeverything everything
Eeverything everything - avatar
0
Oh tnx but why it showed strange numbers?it didn't ask the num
4th Apr 2019, 6:31 AM
Eeverything everything
Eeverything everything - avatar
0
But it doesn't ask my age
4th Apr 2019, 12:42 PM
Eeverything everything
Eeverything everything - avatar
0
I can't type the num because it will type it next to the name
4th Apr 2019, 12:43 PM
Eeverything everything
Eeverything everything - avatar
0
Wow it works..... Ah thank you so much
4th Apr 2019, 12:47 PM
Eeverything everything
Eeverything everything - avatar