+ 2

I created my first c++ code! Its a calculator that could calculate multiples, factors, prime factors and evaluate prime.

I created my first c++ code! Its a calculator that could calculate multiples, factors, prime factors and evaluate prime. It's a bit messy but kinda works. I'm quite new to this language and I just used what I know, so things might have been made a lot more complicated than it should be. I also realized the code runs quite slow and often causes errors when the numbers I used were considerably large, I think this is because of the limitations of the int data type but I'm not sure. Any suggestions on how to tidy up and improve the code, or where can I go from here? If not, feel free to check out the code, play around with some numbers, and leave an up vote if you liked it! https://code.sololearn.com/c9aOmKY253kf/#cpp

14th Oct 2016, 5:02 PM
Herbert Tam
Herbert Tam - avatar
2 Réponses
+ 2
Please See My New Code Basic Calculator (Web)
19th Dec 2016, 1:38 PM
Bruh
+ 1
awesome can you teach me also
26th Nov 2016, 3:55 PM
KENWAY