You are requested by a SuperStore (Spar) in Soshanguve to calculate it’s earning for the week (the store opens the entire week) and determine the day with the highest and lowest earnings. The Store comprises of two sections namely the Food section and the Liquor store. Your C++ program should prompt the total sales for each section for each day and store the total sales for the day into an array. At the end of the week It should display a report for Management for the total sales for that week, the day the lowest sales and the day with the highest sales were recorded.
What is the output of the following C++ code?
x = 5; y = 30;
while (x <= y)
x = x * 2;
cout << x << " " << y << endl;
#include <iostream.h>
using namespace std;
int main( void )
{
int y;
int x = 3;
int total = 0;
while ( x <= 10 ) {
y = x * x * x;
cout<<y<<endl;
total += y;
++x;
} // end while
Cout<< "The total is: "<< total <<end;
} // end main
Accept one number and find out if its positive or negative number using class
Accept one character and print its next character using class
The worst type of mutation is the frameshift mutation, as it causes the DNA sequence to be parsed incorrectly. This is often created by a deletion or insertion that causes the sequence to be read in a different multiple of three. This abnormal reading often results in an earlier or later “Stop” codon, which causes the protein to be abnormally short or long, thus rendering it not functional.So far, the codons in DNA sequences have been multiples of 3. The file <code class="language-plaintext highlighter-rouge" style="font-family: monospace, monospace; font-size: 1em; padding-left: 0.5em; padding-right: 0.5em; border-style: solid; border-width: 1px; border-radius: 0.5em; border-color: rgb(248, 248, 248); background: rgb(248, 248, 248);">frameshift_mutations.txt</code> contains the same DNA sequences of Task B on the even lines, with frameshift mutations on the odd lines (0-indexed).