hey guys
My name is Laura and this is my first thread and I need your help please

Write programs to solve the following problems using loops:


1) You are offered two salary options for 10 days of work. Option 1: $100 per day. Option 2: $1 the first day, $2 the second day, $4 the third day, and so on, with the amount doubling each day. Determine, and output, which is the better option.




2) Request a sentence from the user and then display the number of sibilants (that is, letters ‘S’ or ‘Z’ – not case sensitive) in that sentence. The counting should be carried out by a procedure (sub-routine or function).

Thank you so much