My orders
How it works
Examples
Reviews
Blog
Homework Answers
Submit
Sign in
How it works
Examples
Reviews
Homework answers
Blog
Contact us
Submit
Fill in the order form to get the price
Subject
Select Subject
Programming & Computer Science
Math
Engineering
Economics
Physics
Other
Category
C++
Software Engineering
Java | JSP | JSF
Databases | SQL | Oracle | MS Access
C
Python
Excel
C#
Visual Basic
Computer Networks
Functional Programming
Android
Assembler
UNIX/Linux Programming
ASP | ASP.NET
MatLAB
Wolfram Mathematica
MathCAD
Maple
Perl
Action Script | Flash | Flex | ColdFusion
Ruby | Ruby on Rails
Prolog
Objective-C | Swift
Algorithms
Web Development
HTML/JavaScript Web Application
NodeJS Web Application
Other
Deadline
Timezone:
Title
*
Task
*
{"ops":[{"insert":"a) Use the knowledge of C++ programming to develop a program that takes marks of\n05 subjects, compute the average marks and display on the screen? Also paste\nthe screen shots of the output.\n\nb ) Following is the program to check whether a number is palindrome or not. Execute this \nin the softww are, input any number and manually show the step by step change in variable \n\u201cdigit\u201d, \u201crev\u201d and \u201cnum\u201d in a table for all iteration being done in the do-while loop. Also \npaste the screen shots of the output?\n#include <iostream>\nusing namespace std;\nint main()\n{\n int n, num, digit, rev = 0;\n cout << \"Enter a positive number: \";\n cin >> num;\n n = num;\n do\n {\n digit = num % 10;\n rev = (rev * 10) + digit;\n num = num \/ 10;\n } while (num != 0);\n cout << \" Thee reverse of the number is: \" << rev << endl;\n if (n == rev)\n cout << \" Thee number is a palindrome.\";\n else\n cout << \" Thee number is not a palindrome.\";\n return 0;\n}\n value\/variable digit rev num\n initial value\n 2nd changed value\n 3rd changed value\n\nc ) Use if-else structure to develop a program to check whether the entered year is\nleap year or not. Also paste the screen shots of the output (Hint: Leap years occur\nevery 4 years, but every 100 years we skip a leap year unless the year is divisible\nby 400).\n\nd) Following is the program to find largest number using if statement, execute this in\nthe software and determine the errors (if any)? Correct these errors and paste the\nscreen shots of the output in the solution?\n#include <iostream>\nusing namespace std;\nint main()\n{\nfloat n1, n2, n3;\ncout << \" Enter three numbers \" ;\ncin >> n1 , n2 , n3;\nif(n1 >= n2 || n1 >= n3)\n{\n cout << \"Largest number: \" << n1;\n }\n if(n2 >= n1 || n2 >= n3)\n {\n cout << \"Largest number: \" << n2;\n }\n if(n3 >= n1 || n3 >= n2) {\n cout << \"Largest number: \" << n3;\n }\n return 0;\n}\n\ne )Use the knowledge of C++ programming to implement a program to count total number\nof notes in given amount. Also paste the screen shots of the output\ne.g. Input amount: 575, Output: 500: 1, 100: 0, 50: 1, 20: 1, 10: 0, 5: 1, 2: 0, 1\n\nf) Using for-loop, develop a program to print all odd number between 1 to 100. Also\npaste the screen shots of the output\n\ng)\nFollowing is the program to finn d factorial of a given number, execute this in the softww are\nand determine the errors (if any)? Correct these errors and paste the screen shots of the\noutput in the solution?\n#include <iostream>\nusing namespace std;\nint main()\n{\n unsigned int n;\n unsigned long long factorial = 1;\n cout << \"Enter a positive integer: \";\n cin >> n;\n for(int i = 1; i <=n; ++i)\n {\n factorial *= i;\n }\n cout << \"Factorial of \" << n << \" = \" << factorial; \n return 0;\n}\n\nh) Implement & execute a program to Swap any two numbers using temporary\nvariable. Also paste the screen shot of the output.\n\n"}]}
I need basic explanations
Special Requirements
Upload files (if required)
Drop files here to upload
Add files...
Account info
Already have an account?
Create an account
Name
*
E-mail
*
Password
*
The password must be at least 6 characters.
I agree with
terms & conditions
Create account & Place an order
Please fix the following input errors:
dummy