What are some ways you can work with templates? Check all that apply.
A. creating a new template from scratch
B. scanning a template from a printed page
C. using many different templates in one document
D. using a preexisting template
E. modifying a preexisting template
Answer:
Look at the other answer that guy knows what he is talking about
Explanation:
Pls awnser I will mark brainliest math
Answer:
2788 or 116
Explanation:
Write a C console application that will be used to determine if rectangular packages can fit inside one of a set of spheres. Your program will prompt the user for the three dimensions that define a rectangular box; the length, the width, and the height. The interior diameter of a sphere is used to identify its size. Spheres are available in the following five sizes: 4- inch, 6-inch, 8-inch, 10-inch, and 12-inch. Your program will execute repeatedly until the user enters a value of zero for one or more of the rectangular box dimensions. After obtaining the dimensions of the rectangular box, your program will call a function named getSphereSize that determines if the box will fit inside one of the five spheres. The formula for calculating the diagonal of a rectangular box is:
Answer:
#include <cmath>
#include <iostream>
using namespace std;
int getSphereSize(double length, double breadth, double height) {
double diagonal = sqrt(length * length + breadth * breadth + height * height);
if (diagonal <= 4)
return 4;
if (diagonal <= 6)
return 6;
if (diagonal <= 8)
return 8;
if (diagonal <= 10)
return 10;
if (diagonal <= 12)
return 12;
return 0;
}
int main() {
double length, breadth, height;
int sphereCounts[5] = {0};
int sphereSize;
while (true) {
// Get dimensions of the box
cout << "Enter the dimensions of the box:\n";
cout << "Length: ";
cin >> length;
cout << "Breadth: ";
cin >> breadth;
cout << "Height: ";
cin >> height;
if (length <= 0 || breadth <= 0 || height <= 0)
break;
sphereSize = getSphereSize(length, breadth, height);
if (sphereSize == 0)
cout << "The box cannot fit in any of the spheres";
else
cout << "The box can fit in the " << sphereSize << "-inch sphere";
// Increment the counter
if (sphereSize == 4)
sphereCounts[0]++;
else if (sphereSize == 6)
sphereCounts[1]++;
else if (sphereSize == 8)
sphereCounts[2]++;
else if (sphereSize == 10)
sphereCounts[3]++;
else if (sphereSize == 12)
sphereCounts[4]++;
cout << "\n\n";
}
cout << "\nNumber of 4-inch spheres: " << sphereCounts[0];
cout << "\nNumber of 6-inch spheres: " << sphereCounts[1];
cout << "\nNumber of 8-inch spheres: " << sphereCounts[2];
cout << "\nNumber of 10-inch spheres: " << sphereCounts[3];
cout << "\nNumber of 12-inch spheres: " << sphereCounts[4];
cout << endl;
return 0;
}
Explanation:
The "cmath" library is included in the c++ program. The getSphereSize function is used to return the sphere size the rectangle dimension can fit into. It program continuously prompts the user for the length, breadth, and height of the rectangle and passes the values to the getSphereSize function in the while but breaks if any or all of the variable value is zero.
The sizes of the sphere objects in inches are collected in an array of five integer values of zeros and are incremented by one for every match with a rectangle.
of what is famous Ted Nelson?
Answer:
Nelson proposed a system where copying and linking any text excerpt, image or form was possible.
Explanation:
Ted Nelson is one of the theoretical pioneers of the world wide web who is best known for inventing the concept of hypertext and hypermedia in the 1960s. As one of the early theorists on how a networked world would work.
How I know:
I goggle it.
Match the data type to the given data.
1. float
2. array
3. Boolean
4. character
false
с
c, o, m, p, u, t, er
26.2
If we use 6 bits for representing positive and negative numbers using 2's
complement methods, what is the value of 11100?
An algorithm to print a set of 10 integers in ascending order
Answer:
Program - Array Sorting
Author - Vishal Solanki
Language - C Language
Date - 03/02/2018 (dd/mm/yyyy)
*/
//IDE used for this code is "Visual Studio 2017"
#include <stdio.h> //including stdio.h for printf and other functions
#include<conio.h>
int main() //default function for call
{
int a[100],n,i,j;
printf("Array size: ");
scanf("%d",&n);
printf("Elements: ");
for(i=0;i<n;i++)
{
scanf("%d",&a[i]);
}
for (int i = 0; i < n; i++) //Loop for ascending ordering
{
for (int j = 0; j < n; j++) //Loop for comparing other values
{
if (a[j] > a[i]) //Comparing other array elements
{
int tmp = a[i]; //Using temporary variable for storing last value
a[i] = a[j]; //replacing value
a[j] = tmp; //storing last value
}
}
}
printf("\n\nAscending : "); //Printing message
for (int i = 0; i < n; i++) //Loop for printing array data after sorting
{
printf(" %d ", a[i]);
}
for (int i = 0; i < n; i++) //Loop for descending ordering
{
for (int j = 0; j < n; j++) //Loop for comparing other values
{
if (a[j] < a[i]) //Comparing other array elements
{
int tmp = a[i]; //Using temporary variable for storing last value
a[i] = a[j]; //replacing value
a[j] = tmp; //storing last value
}
}
}
printf("\n\nDescending : "); //Printing message
for (int i = 0; i < n; i++) //Loop for printing array data after sorting
{
printf(" %d ", a[i]); //Printing data
}
return 0; //returning 0 status to system
getch();
}
//Ouput
/*
Array size: 10
Elements : 3 4 7 6 5 1 2 8 10 9
Ascending : 1 2 3 4 5 6 7 8 9 10
Descending : 10 9 8 7 6 5 4 3 2 1
*/
Explanation:
Use three or more sentences to explain to someone why they might need to use a virtual machine.
Answer:
Benefits of Virtualization
Reduced capital and operating costs.
Minimized or eliminated downtime.
Increased IT productivity, efficiency, agility and responsiveness.
Faster provisioning of applications and resources.
Greater business continuity and disaster recovery.
Simplified data center management.
Where are the kidneys located?
a) Attached to the bladder
b) Lower back
c) Upper back
d) Middle back
e) Chest cavity
f the following is acian of health
Answer:
B
Explanation:
Your kidneys are fist-sized organs shaped like beans that are located at the back of the middle of your trunk, in the area called your flank. They are under the lower part of your ribcage on the right and left sides of your backbone.