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

I need help with an edhesive question and please dont put one of those "too hard to answer" things. Im trying to do a personal organizer in code but i have no idea what im doing so if you can help i would love that! the info is right here:

https://intro.edhesive.com/courses/55668/assignments/7530041?module_item_id=16590785

sample run:

What is the event: Math Exam

What is the month (number): 2

What is the date: 29

What is the year: 2017

Do you want to enter another event? NO to stop: Yes

What is the event: Birthday Party

What is the month (number): 6

What is the date: 31

What is the year: 2018

Do you want to enter another event? NO to stop: NO


******************** List of Events ********************

Math Exam

Date: February 1, 2017

Birthday Party

Date: June 1, 2018

A function has different forms such as function call ,declaration, definition .in your opinion which form of function is called prototype and why?


Write a function named "g_c_d" that takes two positive integer arguments and returns as its value the greatest common divisor of those two integers. If the function passed an argument that is not positive (i.e., less than zero), then the function should return the value 0 as a sentinel value to indicate that an error occurred. Thus, for example:

cout << g_c_d(40,50) << endl;     // will print 10

cout << g_c_d(256,625) << endl; // will print 1

cout << g_c_d(42,6) << endl;      // will print 6

cout << g_c_d(0,32) << endl;     // will print 0

cout << g_c_d(10,-6) << endl;   // will print 0

A positive integer n is said to be prime (or, "a prime") if and only if n is greater than 1 and is divisible only by 1 and n. For example, the integers 17 and 29 are prime, but 1 and 38 are not prime. Write a function named "is_prime" that takes a positive integer argument and returns as its value the integer 1 if the argument is prime and returns the integer 0 otherwise. Thus, for example:


cout << is_prime(19) << endl;    // will print 1

cout << is_prime(1) << endl;     // will print 0

cout << is_prime(51) << endl;   // will print 0

cout << is_prime(-13) << endl; // will print 0

Write a function named "sum_from_to" that takes two integer arguments, call them "first" and "last", and returns as its value the sum of all the integers between first and last inclusive. Thus, for example:


cout << sum_from_to(4,7) << endl;  //will print 22 because 4+5+6+7 = 22

cout << sum_from_to(-3,1) << endl; //will print -5 'cause (-3)+(-2)+(-1)+0 +1 = -5

cout << sum_from_to(7,9) << endl;  //will print 22 because 7+8+9 = 24

cout << sum_from_to(9,9) << endl;  //will print 9

To create a website which acts as the personal photo collection and album. The prototype of the album, the categories of photo collection and interactive visuals should be good.


Write a C++ program to define a class for calculator with data members as number1 and number2 (both as double) and methods as add(), sub(), mul(), div(). Create an array of 5 objects of calculator. Use parameterized constructor to initialize the values. Display output of all four arithmetic operations.


. Write a program to overload binary – (minus) operator for Number class using friend function. Number class have two data members as num1 and num2.


Write a program that demonstrate the use of constructor with default arguments for the following problem. Define a class Person with data member as name and age. Create three objects with no argument, one argument name and two argument name and age. You are not allowed to create more than one constructor. 


*Based on answer choices A-E, what is the code's output?


10. Which is a sample regular expression that accepts alphanumeric characters only?


A. [a-z0-9]

B. [a-zA-Z0-9]

C. [A-Z0-9]

D. [a-zA-Z]?[0-9]

E. [a-zA-Z]?(0-9)


LATEST TUTORIALS
APPROVED BY CLIENTS