0

Linguagem C

can someone please help me write 2 programs? the first program is to read and write the first letter of a person's name. The second is to read and write a person's age

30th Sep 2020, 1:49 AM
Bruno Couto
Bruno Couto - avatar
3 Antworten
+ 5
See this #include <stdio.h> int main() { char string[10]; int age; scanf("%c",string); printf("%c",*string); scanf("%d",&age); printf("\n%d",age); return 0; }
30th Sep 2020, 2:09 AM
A S Raghuvanshi
A S Raghuvanshi - avatar
+ 2
We will surely help you, but you should show your attempts first.
30th Sep 2020, 2:47 AM
Arsenic
Arsenic - avatar
0
thanks very much
30th Sep 2020, 2:26 AM
Bruno Couto
Bruno Couto - avatar