• Courses
  • Code Compiler
  • Discuss
  • Pricing
  • Teams
Menu
+ 1

Any way to improve my program?

My program works fine but is this the most efficient way to write it? https://code.sololearn.com/cZ2nqkgJvdEb/?ref=app

c++switchprogramseason
27th Dec 2022, 8:07 PM
Destinymineral
Destinymineral - avatar
1 Answer
+ 3
Here is simplification using math and arrays. https://code.sololearn.com/c3t5lcRopNTt/?ref=app
27th Dec 2022, 10:19 PM
Vanessa Nilsson

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
How do I bridge the gap between learning and doing.
1 Votes
Please help me
2 Votes
How i learn it I feel bhai it's tough some one help me 😐
0 Votes
Game
0 Votes
WHY THEY CHANGED IN LESSONS PRACTICE JUST FOR PRO USERS?
1 Votes
How can I make a note-taking app in Python (NoteNinja Project)?
0 Votes
Please recommend me
0 Votes
Dc
0 Votes
Learn tkinter
1 Votes
chat I wanna make a bullet hell game what language(s) do I need to know?
0 Votes