answersLogoWhite

0

int a=2, b=3, c=4, d=5;

printf ("%d/%d + %d/%d = %d/%d\n", a, b, c, d, a*d+b*c, b*d);

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa
BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
RossRoss
Every question is just a happy little opportunity.
Chat with Ross

Add your answer:

Earn +20 pts
Q: A c plus plus program illustrating rational number?
Write your answer...
Submit
Still have questions?
magnify glass
imp