Answer:
B. Responsive display ads
E. Uploaded ad (Image & AMPHTML).
Explanation:
If what you want to achieve is greater control and greater efficiency and scale while you place your ad? Then the two ad format to achieve that are, responsive display ad and uploaded ad.
The uploaded ad will guarantee you have greater control while the responsive display ad gives you greater scale and efficiency.
Answer: I'd say (B) Two months
Explanation: Hope its correct and helps, Good luck :)
This question is incomplete. The complete question is given below:
Write a program that asks the user to enter ten temperatures and then finds the sum. The input temperatures should allow for decimal values.
Sample Run
Enter Temperature: 27.6
Enter Temperature: 29.5
Enter Temperature: 35
Enter Temperature: 45.5
Enter Temperature: 54
Enter Temperature: 64.4
Enter Temperature: 69
Enter Temperature: 68
Enter Temperature: 61.3
Enter Temperature: 50
Sum = 504.3
Answer:
# Program in Python
sum = 0.0
for i in range(0, 10):
t = float( input("Enter the Temperature: "))
sum = sum + t
print("Sum: {0:0.1f}".format(sum))
Explanation:
- Initialize the sum variable to hold the sum of input temperatures
.
- Iterate from 0 to 9, Get the input and compute the sum
.
- Print the result by formatting the sum so that value is printed with precision to single decimal place
.
Answer:
- import java.util.Scanner;
-
- public class Main {
- public static void main(String[] args) {
- Scanner input = new Scanner(System.in);
- int n = input.nextInt();
- int l = 1;
- for(int i=1; i <= n; i++){
- for(int j=1; j<= l; j++){
- System.out.print("*");
- }
- System.out.println();
- l = l + 2;
- }
- l = l - 4;
- for(int i=1; i < n; i++){
- for(int j=1; j <= l; j++){
- System.out.print("*");
- }
- System.out.println();
- l = l-2;
- }
- }
- }
Explanation:
The solution code is written in Java.
Firstly use a Scanner object to accept an input integer (Line 5-6).
Create the first set of inner loops to print the upper part of the diamond shape (Line 8-14). The variable l is to set the limit number of asterisk to be printed in each row.
Next, create another inner loops to print the lower part of the diamond shape (Line 17-23). The same variable l is used to set the limit number of asterisk to be printed in each row.