[solved] – Question 97680

Write a program that accepts a time as an hour and minute. Add 15 minutes to the time, and output the result.

Example 1:

Enter the hour: 8
Enter the minute: 15
It displays:

Hours: 8
Minutes: 30
Example 2:

Enter the hour: 9
Enter the minute: 46
It displays:

Hours: 10
Minutes: 1

Expert Answer


[solved] – Question 97687

Write a program that accepts a time as an hour and minute. Add 15 minutes to the time, and output the result.

Expert Answer


[solved] – Question 9769

Can someone help me with this
#include <iostream>

class polynomial
{
public:
// CONSTANT
static const int CAPACITY = 15;

// CONSTRUCTOR
polynomial(double c = 0.0, int degree = 0);

// MEMBER FUNCTIONS
void add_to_coef(double amount, int degree);
void assign_coef(double c, int degree);
void clear();
double coefficient(int degree) const;
void print();
int degree() const;

private:
// DATA MEMBERS
double coef[CAPACITY];
int largest_degree;
};

#include “poly.h”
#include <cmath>
using namespace std;

static const int CAPACITY = 15;

// Start implementing your functions here

Expert Answer


[solved] – Question 977

I need a help with a Visual Basic (2008 VS Express) program for a small theater seating booking system. User needs to pull up a form to review availablae/reserved seating for 2-3 different performances. Seats are in arrays where seats closest to stage are more expensive. Nothing fancy and seats can be a table type view. User can purchase/reserve seat, purchase season ticket/seat, and cancel seats. The seating chart will save to a file so the theater Owner can see total seat sales and seating chart for each performance . Can you help? Thank you!)

Expert Answer


[solved] – Question 97718

The following code is meant to output verses of Old MacDonald had a farm. So if the user types in “Python” for an animal and “ssss” for the sound, it should output:

Old Macdonald had a farm, E-I-E-I-O
And on his farm he had a Python, E-I-E-I-O
With a ssss-ssss here and a ssss-ssss there
Here a ssss there a ssss
Everywhere a ssss-ssss
Old Macdonald had a farm, E-I-E-I-O

Expert Answer


[solved] – Question 97727

include furniture category, subcategory, price and special offers
“IKEA Furniture” catalog automated system should have below mentioned features;
1.Proper authentication to the system(Login)
By using username and password
2.List Special Offers
3.List available items and categories and prices
4.About us
5.Exit
question is:
1). Design a basic structured computer program
2). Implement a modularized computer programme for a prepared design

Expert Answer


[solved] – Question 97755

WRITE A PROGRAM THAT ASKS THE USER TO ENTER A NAME, AND THEN PRINT “nice to meet NAME”.Your program should repeat these steps until the user inputs “nope”

Expert Answer


[solved] – Question 97766

Write a program that asks the user for a number. If it is between 1 and 255, output the corresponding ASCII character. If it is outside of that range, output “Out of range”

Sample Run

Enter a number between 1 and 255: 97
a
Enter a number between 1 and 255: 256
Out of range

Expert Answer


[solved] – Question 97767

write a program that asks the user to enter two words, change them to upper case, then prints them in alphabetical order

Sample Run

First word: Zebra
Second word: Cat
CAT
ZEBRA

Expert Answer


[solved] – Question 97768

We call the central part of the program ____________.

Expert Answer