In python the % operator is modulo. Modulo returns the remainder of two numbers.
19 % 5 = 4 therefore,
print(x%y) would output 4
Answer:
See explanation below.
Explanation:
The CD-ROM is a hard surface. Data is burned into the CD-ROM using a laser. The information in the CD-ROM is pretty stable and usually safe for a long time.
A Floppy Disk is a less hard surface. It is a thin film of magnetic material. Data is stored on the Floppy Disk using a targeted magnetic field. The information can be damaged by getting the disk close to a magnetic source. Even small grains of dust can cause a Floppy Disk to lose data.
This is why a CD-ROM is more reliable than a Floppy Disk.
Hope this helps! Have an Awesome Day!! :-)
Answer:
#include <bits/stdc++.h>
using namespace std;
int main() {
double n;
cout<<"Enter a decimal number: ";
cin>>n;
int Round= floor((n- floor(n))*2);
if(Round==0)
{
n= floor(n);
}
else n= ceil(n);
cout<<n;
return 0;
}
I think the answer is one fourth.
Because usually only that part is visible in a stand. It usually contains the name of the magazine and a little bit of illustration gives an idea about what it is about.