Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search

 Write a program which takes two integers (num1 and num2) as input from the user.


Your program should display on the screen the result of i) num1 + num2, ii) num1 * num2, and iii) num1 - num2.


You are not allowed to use the + or - or * operators. E.g., cout<<num1+num1<<num1*num2<<num1-num2; is not allowed. += or -= or *= operators are also not allowed.


You HAVE TO USE loops and the ++ and -- operators. Code for num1+num2 is already available in the slides. Use that for this assignment.



 Write a program which takes two integers (num1 and num2) as input from the user.


Your program should display on the screen the result of i) num1 + num2, ii) num1 * num2, and iii) num1 - num2.


You are not allowed to use the + or - or * operators. E.g., cout<<num1+num1<<num1*num2<<num1-num2; is not allowed. += or -= or *= operators are also not allowed.


You HAVE TO USE loops and the ++ and -- operators. Code for num1+num2 is already available in the slides. Use that for this assignment.



write a program in c++ which makes use of the structure and nested structure to implement an online shopping store for clothes. Get product details from user and store in arrar( size=5) of structure. Ask user to press 'Y' or'y' to continue. Keep taking input from user until user presses any character other than 'Y' or limit (size of array) reaches. following must be stored. product Id , Product Name , price, color, product catogery


Write a code to create an array with the following elements a,b,c,d,e,f,g,h,i,j,k. Test if the array contain a specific character provided by the user. If found display the index number else display "item not found."


Write a program that uses a while loop to calculate and print the multiples of 3 from 3 to 21. Your program should print each number on a separate line.

 Write a program which takes two integers (num1 and num2) as input from the user. The program should display all the prime numbers between num1 and num2. i) The program can use only for loops. ii) The program can use only while loops.


Write a program which takes two integers (num1 and num2) as input from the user. The program should display the result of num1 to the power num2. i) The program can use only for loops. ii) The program can use only while loops.


Write a program which takes two integers (num1 and num2) as input from the user.

Your program should display on the screen the result of i) num1 + num2, ii) num1 * num2, and iii) num1 - num2.
Please enter the next word: cat
#1: You entered cat
Please enter the next word: iguana
#2: You entered iguana
Please enter the next word: zebra
#3: You entered zebra
Please enter the next word: dolphin
#4: You entered dolphin
Please enter the next word: STOP
All done. 4 words entered.

Given a compiler which allocates 4 Bytes of memory to an integer variable, then what is the range of numbers that can be stored in such variable? Explain your answer.



LATEST TUTORIALS
APPROVED BY CLIENTS