Answer:
int sum = 0;
for (int i = 1; i < 100; i += 2) {
sum += i * i;
}
printf("The sum of cubes is %d", sum);
/* Prints: The sum of cubes is 166650 */
Explanation:
If 1 should be excluded, let the for loop start at 3.
Answer:
Written in Python
age = int(input("How old are you? "))
for i in range(1,age+1):
print("**HUG**")
Explanation:
The first line prompts the user for age
age = int(input("How old are you? "))
The next line is an iteration that starts from 1 till the user input
for i in range(1,age+1):
The last line prints "**HUG**" while the iteration is true
print("**HUG**")
Answer:D
Explanation: they do all of these
Answer:
1. Uncompressed audio formats
2. Formats with lossless compression
3. Formats with lossy compression
Explanation:
1. Uncompressed audio formats, such as WAV, AIFF, AU or raw header-less PCM;
2. Formats with lossless compression, such as FLAC, Monkey's Audio (filename extension .ape), WavPack (filename extension .wv), TTA, ATRAC Advanced Lossless, ALAC (filename extension .m4a), MPEG-4 SLS, MPEG-4 ALS, MPEG-4 DST, Windows Media Audio Lossless (WMA Lossless), and Shorten (SHN).
3. Formats with lossy compression, such as Opus, MP3, Vorbis, Musepack, AAC, ATRAC and Windows Media Audio Lossy (WMA lossy).