Answer:
In Java:
import java.util.*;
public class Main{
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
int n;
System.out.print("Max of series: ");
n = input.nextInt();
for(int i = 1; i<=n;i+=4){
System.out.print(i+" ");
}
}
}
Explanation:
This declares n as integer. n represents the maximum of the series
int n;
This prompts the user for maximum of the series
System.out.print("Max of series: ");
This gets user input for n
n = input.nextInt();
The following iteration prints from 1 to n, with an increment of 4
<em> for(int i = 1; i<=n;i+=4){</em>
<em> System.out.print(i+" ");</em>
<em>}</em>
Answer: See Explanation
Explanation:
The uses of ICT in health department include:
1. ICT helps in the improvement of the safety and the satisfaction of patients as new technologies are being developed to endure that patients are treated faster and their chance of survival increase.
2. ICT helps in looking for prevention measures which will be used to eradicate diseases.
3. ICT helps in the storage of medical data electronically. This will help in the easy retrieval of information.
4. ICT helps in the spread of information and also ensures distant consultation which are essential to achieving health related goals. e.g telemedicine.
5. ICT helps in the easy and fast spread of information and also facilitates cooperation and enhances teamwork among the health workers.
6. ICT brings about efficiency and effectiveness of administrative systems.
It is called a fluid layout
A fluid
web page typically is configured with percentage widths that sometimes take up
100% of the browser. They will use relative units like percentages instead of pixels
and will often fill the width of the page regardless of what the width of the
browser might be. They keep the same spatial weighting to all elements and
works fine on different sizes of screens of similar sort. They define each area
of an image layout perfectly.
Answer:
Here you go, change it however you'd like :)
Explanation:
(A nested loop was not needed to fulfill this task)
usr = int(input("How many days would you like to calculate: "))
pen = 0.01
for n in range(1, usr + 1):
print(f"Day: {n} | Amount: ${pen}")
pen += pen