#I need help with modulo in c++ coding converting

8 messages · Page 1 of 1 (latest)

silent wolf
fervent magnet
#

What do you need help with

silent wolf
#

I’m not sure what to do here

stray trellisBOT
#

@silent wolf has reached level 1. GG!

oak torrent
fervent magnet
#

You basically just add the numbers

errant birch
#

This doesn't involve modulo at all. It's just multiplication and addition.

#

I see a problem in your code in which you are declaring int variables to hold the numbers. That causes loss of information. Fractional values disappear because an int cannot have decimals.