Answer:
Explanation:
Gibbons v. Ogden (1824) was a historical decision, where the congress of the United Stated wants to regular interstate commerce. This was a legal fight about the potential of the new steamboat navigation, in the Supreme Court of the United States between the best layers in those days.
This decision of the U.S. Supreme Court was Congress had the right to regulate interstate commerce.
Answer:
// code to read grade
#include <stdio.h>
// main function
int main(void) {
// if grade is character
char grade;
// if grade is numeric then we can use int or double
// int grade;
// double grade;
printf("Enter your grade:");
// read grade from user
scanf("%c",&grade);
// print grade
printf("your grade is:%c",grade);
return 0;
}
Explanation:
To read a value, scanf() function is used from stdio.h.Read a grade from user and assign it to variable "grade".
Output:
Enter your grade:A
your grade is:A
// code to read die volt
#include <stdio.h>
// main function
int main(void) {
// variable
double die_volt;
printf("Enter die volt:");
// read die volt from user
scanf("%lf",&die_volt);
// print die volt
printf("Entered die volt is:%0.2lf",die_volt);
return 0;
}
Explanation:
Read the die volt from user and assign it to variable "die_volt" with the help
of scanf() function.
Output:
Enter die volt:220
Entered die volt is:220.00
Answer:
The code will be in Python3
you will have to enter the number of employee data and it will display all the data entered in the correct format.
Explanation:
class Solution:
def __init__(self):
self.firstName=""
self.lastName=""
self.employeeID=0
def getData(self):
self.firstName=input("please enter your first name: ")
self.lastName=input("please enter your last name: ")
self.employeeID=input("please enter your ID: ")
def showData(self):
p="{}\t{}\t{}".format(self.firstName,self.lastName,self.employeeID)
return p
num=int(input("please enter the number of employee data you want to enter: "))
data=[]
for i in range(num):
t1=Solution()
t1.getData()
data.append(t1.showData())
for i in data:
print(i)
Answer: printed
Explanation: The definition of kerning is; the spacing between letters or characters in a piece of text to be printed.