Answer and Explanation:
Using javascript:
function dayof_theweek(){
var TodayDate = window. prompt("enter today's date in the format 'year, month, day' ");
var Datenow=new date(TodayDate);
var Dayofweek=Datenow.getday();
var Days=["monday","Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"];
if(Dayofweek==indexOf(Days[Dayofweek]))
{
document.createTextnode(Days[Dayofweek]);
}
}
The program above uses a date object which uses the method getday to get the day of the week(get day returns an integer from 0 to 6).we then use a comparison operator == to test the condition that returned value Dayoftheweek is same with the index of the array Days and then print to a html document. The program may need improvements such as the fact that errors may arise when proper input isn't given, and therefore must be handled.
There are no answrt choices it would be very helpful if you added them, then I could help you.
Answer:
Print preview allows you to view your document before printing
1. C
2. B
3. C
4. A
5. A
6. B
7. C
8. D
9. C
10. B
11. D
12. D
13. D
14. A
15. A
16. B
17. A
18. B
19. D
20. B
Some of the ones towards the start may not be right but I gave it a go :)
Answer:
make sure the speaker is clean and you volume setting is on normal there is alot of setting for deaf people so make sure that is correctly