October 11, 20169 yr Need some help on my homework willing to pay for some quick help providing some screenshots of the questions if anyone knows C++ programming and can type up the code I would need to run this program I believe its pretty basic.
October 11, 20169 yr Need some help on my homework willing to pay for some quick help providing some screenshots of the questions if anyone knows C++ programming and can type up the code I would need to run this program I believe its pretty basic. 1) after every loop count 1 to a variable initialize int count; after a number is entered counter++; get the total can be found the same way 2) this is C but is similar to what you are looking for. #include <stdio.h> int main() { int counter; printf("Odd numbers between 1 to 100\n"); /* * Initialize counter with first odd number 1, and increment * it by 2 in every iteration. */ counter = 1; while (counter <= 100) { printf("%d ", counter); /* Add 2 to current odd number to get next odd number */ counter = counter + 2; } return 0; }
October 11, 20169 yr Mate, do your own fuckin' homework. Ask for help if you need it, but don't just ask someone else to do it for you. If you can't do something this simple and you don't learn it now, you are doomed in 2 months when you take your final.
October 11, 20169 yr Author 1) after every loop count 1 to a variable initialize int count; after a number is entered counter++; get the total can be found the same way 2) this is C but is similar to what you are looking for. #include <stdio.h> int main() { int counter; printf("Odd numbers between 1 to 100\n"); /* * Initialize counter with first odd number 1, and increment * it by 2 in every iteration. */ counter = 1; while (counter <= 100) { printf("%d ", counter); /* Add 2 to current odd number to get next odd number */ counter = counter + 2; } return 0; } cool thanks that helps a bit Mate, do your own fuckin' homework. Ask for help if you need it, but don't just ask someone else to do it for you. If you can't do something this simple and you don't learn it now, you are doomed in 2 months when you take your final. the beautiful thing about a forum is you can ignore topics that are going to trigger you. I suggest in the future you ignore forum topics that will cause you to get triggered I worry about your mental health .
October 11, 20169 yr cool thanks that helps a bit the beautiful thing about a forum is you can ignore topics that are going to trigger you. I suggest in the future you ignore forum topics that will cause you to get triggered I worry about your mental health . If you are okay with failing a course which appears to be an introduction to C/C++ from a community college, I will complete assignment for 10m (code + questions). Let me know.
Create an account or sign in to comment