What's new

C LANGUAGE PATULONG PO

m a e 0 9

Leecher
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
 

vhin le

Eternal Poster
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]...
 
Top