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 & Filtering

Learning activity 1 planning and conceptualizing an ict project for social change

Describe three things (risks) that can cause damage to computer hardware; and explain measures an organization can use to minimize or prevent the risks.


The __________ keyword is used to create a function.


write a program thats prompts the user to enter a person's date of birth in numeric form such as 8-27-1980. the program then outputs the date of birth in the form: august 27, 1980. Your program then outputs the date of birth in the form: august 27, 1980. Your program must contain to classes: invalidDayException and invalidMonthExcep. if users enter an invalid value for a day, then the program should throw and catch and InvalidDayExcept object. similar conventions for the values of month and year. (noted that your program must handle a leap year)



  1. Input four float numbers; they could be positive or negative.
  2. Only add all inputted negative numbers, and print its sum, up to 2 decimal place.

Code a C program to read five integer values from data.txt to console; calculate and display the sum and average thereof. Use the following data to create your text file: 6,45,12,67,9.

  • Code a C program to calculate and distance covered by a car using pointer when time, velocity and acceleration is given. Function Distance () must take time, speed, and acceleration as parameters and return distance.
  • The C program must also take input from the user.

Create simple basic structure for class object and relation using Class Library and Console Application Project of BloodInventory: BloodInventoryID, BloodGroup, NumberofBottles, BloodBankID, ExpiryDate where a. User will be able to view the blood available in all blood banks b. User can transfer blood from one bank to another bank or hospital as per that updation in the quantity should happen c. Delete the blood details if it is expired 


Please put Try Another[Y/N]:

here in this code.


#include <iostream>

using namespace std;

int main(){

int i;

cout<<"Input i: ";

cin>>i;

cout<<"Process = ";

int fact = 1;

int n = 1;

for(int x=i; x>=1; x--){

fact *= x;

cout<<n <<"*";

n++;

}

  cout<<"\nOutput: "<<fact<<endl;

}



Create a C program and a flowchart that will generate a table of chosen mathematical operations. The user has to be prompted first for the math operation and then enter a value that will be used to add, subtract, multiply or divide from 1 to 10 to complete the table. A sample run is provided below to illustrate the output.


M A T H O P E R A T I O N S:

[M] – Multiplication

[D] – Division

[A] – Addition

[S] - Subtraction


Enter your choice: M

Enter your desired value to be multiplied: 7

1*9=9

2*9=18

3*9=27

4*9=36

5*9=45

6*9=54

7*9=63

8*9=72

9*9=81

10*9=90


Continue [Y/N]? Y


M A T H O P E R A T I O N S:

[M] – Multiplication

[D] – Division

[A] – Addition

[S] - Subtraction


Enter your choice: A

Enter your desired value to be added:4


1+6=7

2+6=8

3+6=9

4+6=10

5+6=11

6+6=12

7+6=13

8+6=14

9+6=15

10+6=16


Continue [Y/N]? N

Thank you for choosing my program


LATEST TUTORIALS
APPROVED BY CLIENTS