🔒 Closed C LANGUAGE PATULONG PO

Status
Not open for further replies.

m a e 0 9

Grasshopper
Description
The integer to be processed.
Constraints
0 <= n <= 2147483647
Sample
45
Output
The first line will contain a message prompt to input the value of n. The succeeding line will contain all the digits of n that are greater than 3 and if there is none, the word "none".
Enter·n:·415
4
5
 
use array of char to accept the value and then use loop to read them.
While reading each i (index) convert the values to int (cast) and check if the values is greater than 3. If yes, output arr[index] else [blank]...
 
Status
Not open for further replies.

About this Thread

  • 2
    Replies
  • 2K
    Views
  • 2
    Participants
Last reply from:
m a e 0 9

Trending Topics

Online now

Members online
376
Guests online
2,384
Total visitors
2,760

Forum statistics

Threads
2,329,003
Posts
29,245,673
Members
1,158,211
Latest member
6anonim9
Back
Top