public class Circle {
// the private data members
private double radius;
private double area;
private double diameter;
public void setRadius(double r)
{
radius = r;
}
public double getRadius()
{
return radius;
}
public double computeDiameter()
{
return radius * 2;
}
public double computeArea()
{
return ((radius * radius) * 3.14);
}
}
The answers are :
JPEG - Compresses well without losing quality, it should be used for the web
TIFF - Can be saved in an uncompressed file format with a high resolution, it is a common file format used for professional print services
BMP - Can be saved in a compressed or uncompressed file format, It is a common file format used for either web or print
<span>FLV or SWF - Used to publish a rendered video for use on the web</span>
Put some more of your time to help improve that skill.try to learn to get better.
#include <iostream>
using namespace std;
int main() {
const int SCORES_SIZE = 4;
int oldScores[SCORES_SIZE];
int newScores[SCORES_SIZE];
int i = 0;
oldScores[0] = 10;
oldScores[1] = 20;
oldScores[2] = 30;
oldScores[3] = 40;
/* Your solution goes here */
for (i = 0; i < SCORES_SIZE; ++i) {
cout << newScores[i] <<" ";
}
cout << endl;
return 0;
}