<span>Cuando el proxeneta está en la cuna
Baja como si estuvieras en llamas
Baja como si estuvieras en llamas
Baja como si estuvieras en llamas
Cuando los cerdos tratan de llegar a usted
Estaciona como si estuviera caliente
Estaciona como si estuviera caliente
Estaciona como si estuviera caliente
Y si un negro consigue una actitud
Pop como si estuviera caliente
Pop como si estuviera caliente
Pop como si estuviera caliente
Tengo el Rolly en mi brazo y estoy derramando Chandon
Y hago el mejor rollo de hierba porque lo tengo corriendo</span>
Answer:Following is the c++ code for the problem:
#include <iostream>
using namespace std;
int main() {
int number;
cout<<"Enter the number"<<endl;
cin>>number;
int i=0,c=0,odd[500];
while(i<=number)//loop for printing the numbers form 0 to number.
{
cout<<i<<" ";
if(i%2!=0)// storing in the odd array if the number is odd.
{
odd[c++]=i;//storing odd numbers..
}
i++;
}
cout<<endl;
i=0;
cout<<"The odd numbers are "<<endl;
while(i<c)//loop to print the odd numbers.
{
cout<<odd[i]<<" ";
i++;
}
cout<<endl<<"The prime numbers are "<<endl;
i=0;
int sum=0;
while(i<c)//loop to print the prime numbers..
{
int div=2;
while(div<odd[i])
{
if(odd[i]%div==0)
break;
div++;
}
if(div==odd[i])
{
cout<<odd[i]<<" ";
sum+=odd[i];//updating the sum..
}
i++;
}
cout<<endl<<"The sum of odd prime numbers is "<<sum<<endl;//printing the sum..
return 0;
}
Output :
Enter the number
49
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
The odd numbers are
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49
The prime numbers are
3 5 7 11 13 17 19 23 29 31 37 41 43 47
The sum of odd prime numbers is 326
.
Explanation:
First I have printed the values from 0 to n and i have taken an array to store odd numbers.After that i have printed the odd values.And after that i have printed prime numbers among the odd numbers and their sum. These all operations are done using while loop.
Answer:
See explaination
Explanation:
Loop Unrolling
Assembly code
loop:
load r1, r5, 40 //r1 = Mem[r5 + 40]
load r6, r5, 36 //r6 = Mem[r5 + 36]
add r7, r6, r2 //r7 = r6 + r2
store r7, r5, 36 //Mem[r5 + 36] = r7
add r1, r1,r2 //r1 = r1 + r2
store r1, r5, 40 //Mem[r5 + 40] = r1
addi r5, r5, -8 //r5 = r5 -8
bne r5, 0, loop //if(r5 != 0)branch to loop
The advantage of using plenum cable for twisted- pair cable is it is "Fire resistant"
<u>Explanation:</u>
Plenum cable is a cable that is used in plenum spaces of buildings. These cables have fire resistance characteristic with low smoke. These cables are self extinguishing, and never re-ignite. They require less space for installation and allows space for air circulation to be used by the HVAC system. Twisted-pair, coaxial, HDMI and DVI variants of cable are manufactured in the plenum version. Plenum cable is mandatory to be fixed in any "air handling" area.