use for loop only, c++ i have most of it done, I just don't know how to go by 10 on this line:
for(int i = start;i<=end;i++)
so you don't have to do the whole thing, just let me know how to go by 10 on the table.

#include <iostream>
using namespace std;
int main(){
int start, end;
cout<<"Enter the table size(start, end): ";
cin>>start;
cin>>end;
cout<<"$\t\tE\t\tB\t\tY"<<endl;
cout<<"---------------------------------------------------------------"<<endl;
for(int i = start;i<=end;i+=10){
cout<<i<<"\t\t"<<(i*0.89)<<"\t\t"<<(i*0.76)<<"\t\t"<<(i*111.95)<<endl;
}
return 0;
}
use for loop only, c++ i have most of it done, I just don't know how...
I ONLY NEED A FLOWCHART [USE A LOOP], NO CODE PLEASE. PLEASE IF YOU DON'T KNOW THE ANSWER DON'T JUST PUT WHATERVER HERE DRAW A FLOWCHART for a program that executes the following equation: f[i] = s *(z2[i] + z[i] +r) where N < 64, z is an input array of N elements, s = 0.25, and r is an integer constant.
This is a c# assignment Please do not post just the code, I don't even know how to start the project. Please explain step by step how I could complete this assignment. Thank you for your time! Create a database that stores baseball player information. You will have the following columns. You will need to have the ability to add rows and display the records. You may use LINQ or Given example using an access accdb file... Name string Batting...
I have the answers, I just need to know how to find the answers myself. a) Assume that a speculator purchases a European style put option on euros for $0.0599 per unit. The strike rate is 1.1231. A euro option represents 125,000 units. Assume that at the time of the purchase, the spot rate of the euro is $1.1728 and changes to $1.191 by the expiration date. The net profit for the speculator based on the information above is: Answer...
I ONLY NEED PART 4 I HAVE DONE 1,2,3 Arrays This assignment is designed in small progressive parts, with the intention of developing the skill of working with arrays. Do each part separately. Include in your submission the code and output for Part I, then the code and output for Part 2, etc. into a Word document. Specification: Part 1. Write a main function that declares an array of 10 int’s. Assign each element in the array a value between...
I have a solution, but don't know how to get it:
3. A businessman purchases perishable commodities in the wholesale market at $10 each and sells them on the retail market at $15 each. He hence makes a profit of $5 for every unit he sells. But the commodities are perishable and so any units unsold at the end of the day are discarded and he incurs a loss of $10 on each unit he discards. (I've chosen toy numbers...
=
=
=
=
=
=I have the answer, but I don't know how to get it. Please show
me how to do. thanks
I have the answer, but I don't know how to get it. Please show
me how to do. thanks
I have the answer, but I don't know how to get it. Please show
me how to do. thanks
I have the answer, but I don't know how to get it. Please show
me how to do....
I would just like to know how these are done! If you guys can show me a formula or an example as to how these types of reactions are done that would be great! Thanks! a)Alkylation of an Ester b)Acid Catalyzed Hydrolysis of of an Amine
Please provide a step by step solution. The
most confusing thing is that I don't know how to find t value of
97% confident interval on the T-table.
A shoe store wants to estimate the average shoe size of their customers. It is assumed that the shoe size of their customers follows a normal distribution. It is known from previous experience that the standard deviation of shoe size is 2.4 inches. They take a sample of 40 customers and obtains...
This is lab report for
identification of hydrocarbon. I have my data for hydrocarbon but i
don't know how to explain for question 1. Can u help me with it?
And i will attcah the table 1 for possible hydrocarbon.
58 Table 1. List of possible hydrocarbons Boiling point Refractive Hydrocarbon Name (°C) index (n20) cyclopentane 49 1.4065 2,2-dimethylbutane 50 1.3688 2,3-dimethylbutane 1.3750 3-methylpentane 63 1.3765 n-hexane 69 1.3749 methylcyclopentane 72 1.4097 2,4-dimethylpentane 80 1.3815 cyclohexane 81 1.4266 2,3-dimethylpentane 90...
This should be done in C. I have the code written to where it gives me the output however it is out of order from where it should be. The input should be 5 3 -7 3 5 -7 3 the output should be -7 occurs 2 times 3 occurs 3 times 5 occurs 2 times. My issue is I believe I need a bubble sort before my last loop but am unsure how to do it. #include <stdio.h> int...