write a program (wap)to print the largestof threenumbers
A solution is prepared by mixing 1.00 gram of ethanol (C2H6O) with 100.0 gram water to give a final volume of 101 mL.
Calculate the mole fraction for the solute and solvent, and the molality of ethanol in the solution
Using exec system call list all the files and directories of home then
store the result in “output1.txt”. Run a second command “grep” and find
the word “output1.txt” in all the text files of the home also place the home
path in the “PATH” environment variable while doing exec for grep. This all
will be done in one process.
explain the different types of instruments under which a company under
Companies Act, 2013 can raise capital
Write a C++ program that lets a maker of chips and salsa keep track of sales for five different types of salsa: mild, medium, sweet, hot, and zesty.
The program should use two parallel 5-element arrays: an array of strings that holds the five salsa names and an array of integers that holds the number of jars sold during the past month for each salsa type. The salsa names should be stored using an initialization list at the time the name array is created.
The program should prompt the user to enter the number of jars sold for each type. Once this sales data has been entered, the program should produce a report that displays sales for each salsa type, total sales, and the names of the highest selling and lowest selling products.
Input Validation: Do not accept negative values for number of jars sold.
Write a C++ program that lets a maker of chips and salsa keep track of sales for five different types of salsa: mild, medium, sweet, hot, and zesty.
The program should use two parallel 5-element arrays: an array of strings that holds the five salsa names and an array of integers that holds the number of jars sold during the past month for each salsa type. The salsa names should be stored using an initialization list at the time the name array is created.
The program should prompt the user to enter the number of jars sold for each type. Once this sales data has been entered, the program should produce a report that displays sales for each salsa type, total sales, and the names of the highest selling and lowest selling products.
Input Validation: Do not accept negative values for number of jars sold.
Write a C++ program that allows the user to enter the last names of five candidates in a local election and the number of votes received by each candidate. The program should then output each candidate’s name, the number of votes received, and the percentage of the total votes received by the candidate. Your program should also output the winner of the election
What is reinvestment rate (or price) risk? Which has more reinvestment risk, a 1-year bond or a 10 year bond?
What is interest rate (or price) risk? Which has more interest rate risk, an annual payment 1-year bond or a 10 year bond? [3 marks]
1. A long, straight conductor carries a current of 200 A. At what distance from the conductor is the magnetic field
caused by the current equal to the Earth’s magnetic field?
2. A power cable contains two long parallel conductors placed 1.5 cm apart. It carries a current of 125 A to a 40 hp
electric motor. Find the force exerted on a 2.0 m length of one conductor?
3. A coil used to produce a magnetic field for an electron beam experiment has a radius of 15 cm and has 300
turns. What current is needed to produce a magnetic field of 5.0 x 10-3 T?