Tensae Aschalew

Generation

language from codeWed, 17 May 2023

cout("hello)

- [ ] `%c` prints the first character of the argument string. - [ ] `%s` prints the argument string. - [ ] `%d` prints the argument as a decimal number. - [ ] `%i` prints the argument as a decimal number. - [ ] `%f` prints the argument as a floating-point number. - [ ] `%e` prints the argument in scientific notation using a lowercase "e". - [ ] `%E` prints the argument in scientific notation using a uppercase "E". - [ ] `%g` prints the argument as type `%f` or `%e`, whichever is shorter. - [ ] `%G` prints the argument as type `%f` or `%E`, whichever is shorter. - [ ] `%%` prints a literal "%" character. ## Advanced Exercises These are more challenging. Skip them if you need to. ### Exercise 17: Rewrite `ex14` in a single `print` statement You can rewrite any exercise in a single `print` statement. Can

Questions about programming?Chat with your personal AI assistant