C problem | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

C problem

I want to code a program that if I input (a/b),and the result isn't rational,it output N.and if the a/b is rational, it output Y anyone could give me some advice? Thanks

29th Sep 2020, 12:12 PM
Sherry_Lim
Sherry_Lim - avatar
2 Answers
29th Sep 2020, 1:09 PM
A S Raghuvanshi
A S Raghuvanshi - avatar
0
If inraional output N
29th Sep 2020, 12:12 PM
Sherry_Lim
Sherry_Lim - avatar