Keep in mind, the lowercase and uppercase letters are in continuous blocks on the ASCII table so you can can use that to verify if a char is a letter without doing an incredible long chain of if else statements.
The other question... Why are you going to the bathroom a lot at night? That might be another issue you should look into.
Yes I know it's a old meme.
Does it work on the frogs too?
Wholey shit only occurs if you do anal
One time I was sick. I was stuck in the bathroom rotating between sitting and kneeling. I texted my team lead and said I couldn't come in and I was taking a sick day.
He responded by claiming I was lying and was not really sick. I responded with a picture of the toilet bowl after several rounds(unflushed).
He responded with "get well soon"
All the other tips are great. I would also recommend checking out a switch statement, for example https://www.geeksforgeeks.org/c/c-switch-statement/
This will clean up alot of the else if statements. Also I would work on code to organization. For example you test if the choice is greater than or equal to 6 or less than 1, then if it is equal to 5 then check again if it's less than 5 and greater than 0. You already did that third check.
If you want to go slightly more advanced I would put the steps to ask for and save the input numbers into a function then just call that function on each of the following choices. Would add a functional call but would remove another if statement. If you name it well it would also help on code readability.
Also if you want to take this farther like taking more than 2 numbers or more than 1 operation (for example 2 + 3 * 4) look into reverse polish notation. Basically it's how to store the equation to make executing them correctly easier. That might be a little advanced for you at this stage though.
I used to be on the gross margin improvement team. Basically our job was to implement projects which reduced cost.
I don't think a single person's job was eliminated because of my work. I remember creating about 35 jobs. For example I had a project where I identified about $900k in potential savings per year. We had to spend $50k one time and hire an employee for about $60k per year but still saved about $900k.
Employees are cheap(even expensive ones). Simple things like hire an employee to check something at step 3 so you are not paying people to do steps 4-20 will easily pay for itself if that issue at step 3 happens enough. Like for example that's the whole point of unit testing software. Pay someone to write tests all day everyday even at an high salary, say $150k reduces costs of tech support, reduces cost of later testing, improves value of product, increases sales etc. If you want to be negative this is value stolen from the worker. But if an employee doesn't make you a profit, why are they a employee? Like if you pay $70k for an employee who causes $50k in revenue... Fire them and make yourself a 20k raise. Now if you pay someone $70k and they make you $700k that's immoral...
I've told this story before but years ago(probably 2 if not 3 decades ago) I liked a song where a guy made sounds like "ohh bada bada bop ba" instead of actually singing. The only real line he sang that I remembered was "I'm the scat man"... So I went on to kazza, yes this was that long ago, and found a video called "scat man" and downloaded it... I hope I don't have to explain it was NOT a music video!
The earth is flat...
Do you agree the earth is about 2/3 lakes, rivers, oceans etc?
Are they carbonated?
No, the world is flat ... Give me money....
The joke is much better if you don't give the children names at the start.
I treat my body like a temple. (a pagan temple during the crusades of Richard the lionheart) .
vrek
0 post score0 comment score
Spoken like a true sales person