Answer:
consistent phrasing is missing
Explanation:
If you will note carefully, the bullets are not in correct format. The model is missing. The correct one is as below.
Risks
The correct form of presentation is as below:
1. Risks
a. employees
a. physical illness
b. mental illness
c. death
2. Customers
a. complaints
b. downtime
3. Benefits
However, the content seems to be complete now, and hence not anything else is required. And since its not something very tough to decide to go with, bite the bullet is certainly not an issue.
Answer:
- import random
-
- states = {
- "Alabama": "Montgomery",
- "California": "Sacramento",
- "Florida": "Tallahassee",
- "Hawaii": "Honolulu",
- "Indiana": "Indianapolis",
- "Michigan": "Lansing",
- "New York": "Albany",
- "Texas" : "Austin",
- "Utah" : "Salt Lake City",
- "Wisconsin": "Madison"
- }
-
- correct = 0
- wrong = 0
- round = 1
- while(round <= 5):
- current_state = random.choice(list(states))
- answer = input("What is the capital of " + current_state + ": ")
-
- if(answer == states[current_state]):
- correct += 1
- else:
- wrong += 1
-
- round += 1
-
- print("Correct answer: " + str(correct))
- print("Wrong answer: " + str(wrong))
Explanation:
The solution code is written in Python 3.
Line 3 -14
Create a dictionary of US States with capital as each of their corresponding value. Please note only ten sample states are chosen here.
Line 16 - 18
Create variables to track the number of correct and inaccurate response and also round counter.
Line 19 - 28
Set the while condition to enable user to play the quiz for five questions and use random.choice to randomly pick a state from the dictionary and prompt user to input the capital of selected stated.
If the answer matched with the capital value of the selected state, increment the correct counter by one. Otherwise the wrong counter will be incremented by one. Increment the round counter by one before proceed to next round.
Line 30 - 31
Print the number of correct responses and wrong responses.
Answer:
#include <iostream>
#include <cstdlib>
using namespace std;
char grade(double marks){
if(marks>=90)
{
return 'A';
}
else if (marks >=80 && marks<90)
{
return 'B';
}
else if (marks >=70 && marks<80)
{
return 'C';
}
else if (marks >=60 && marks<70)
{
return 'D';
}
else if ( marks<60)
{
return 'F';
}
}
int main()
{
double marks;
cout <<"Ener marks";
cin >>marks;
char grd=grade(marks);
cout<<"Grae is "<<grd;
return 0;
}
Explanation:
Take input from user for grades in double type variable. Write function grade that takes a parameter of type double as input. Inside grade function write if statements defining ranges for the grades. Which if statement s true for given marks it returns grade value.
In main declare a variable grd and store function returned value in it.
Answer:
stress about paying bills
a lack of money for other expenses
great electronic connectivity
Explanation:
The Maya classic period has seen the rise of conspicuous and mass consumption. In the given scenario all the expense her paid by credit cards and cash is rarely used. There will be a stress for paying bills. There will be lack of money available in hand for some routine expenses and mandatory purchases. It gives a great electronic connectivity. All the funds are considered as safe.
Answer:
Explanation:
public class Temperature
{
double ftemp;
public int Constructor(double fahrenheit)
{
ftemp = fahrenheit;
return Convert.ToInt32(ftemp);
}
public void setFahrenheit(double fahrenheit)
{
ftemp = fahrenheit;
}
public void getFahrenheit()
{
ftemp = Constructor(ftemp);
}
public void getCelcius()
{
ftemp = (ftemp - 32) * 5 / 9;
}
public void getKelvin()
{
ftemp = (ftemp - 32) * 5 / 9 + 273.15;
}
}