add: printf exercises

This commit is contained in:
Inanc Gumus
2018-10-27 16:38:54 +03:00
parent 1a21064e7d
commit c37cf60701
21 changed files with 40 additions and 10 deletions

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Print Your Age
//
// Print your age using Prinft // Print your age using Prinft
// //
// EXPECTED OUTPUT // EXPECTED OUTPUT

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Print Your Name and LastName
//
// Print your name and lastname using Printf // Print your name and lastname using Printf
// //
// EXPECTED OUTPUT // EXPECTED OUTPUT

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: False Claims
//
// Use printf to print the expected output using a variable. // Use printf to print the expected output using a variable.
// //
// EXPECTED OUTPUT // EXPECTED OUTPUT

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Print the Temperature
//
// Print the current temperature in your area using Printf // Print the current temperature in your area using Printf
// //
// NOTE // NOTE

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Double Quotes
//
// Print "hello world" with double-quotes using Printf // Print "hello world" with double-quotes using Printf
// (As you see here) // (As you see here)
// //

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Print the Type
//
// Print the type and value of 3 using fmt.Printf // Print the type and value of 3 using fmt.Printf
// //
// EXPECTED OUTPUT // EXPECTED OUTPUT

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Print the Type #2
//
// Print the type and value of 3.14 using fmt.Printf // Print the type and value of 3.14 using fmt.Printf
// //
// EXPECTED OUTPUT // EXPECTED OUTPUT

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Print the Type #3
//
// Print the type and value of "hello" using fmt.Printf // Print the type and value of "hello" using fmt.Printf
// //
// EXPECTED OUTPUT // EXPECTED OUTPUT

View File

@ -8,7 +8,7 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Print the Type #4
// Print the type and value of true using fmt.Printf // Print the type and value of true using fmt.Printf
// //
// EXPECTED OUTPUT // EXPECTED OUTPUT

View File

@ -8,7 +8,8 @@
package main package main
// --------------------------------------------------------- // ---------------------------------------------------------
// EXERCISE // EXERCISE: Print Your Fullname
//
// 1. Get your name and lastname from the command-line // 1. Get your name and lastname from the command-line
// 2. Print them using Printf // 2. Print them using Printf
// //

View File

@ -0,0 +1,21 @@
# Printf
1. **[Print Your Age](https://github.com/inancgumus/learngo/tree/07-printf/exercises/01-print-your-age)**
2. **[Print Your Name and LastName](https://github.com/inancgumus/learngo/tree/07-printf/exercises/02-print-your-name-and-lastname)**
3. **[False Claims](https://github.com/inancgumus/learngo/tree/07-printf/exercises/03-false-claims)**
4. **[Print the Temperature](https://github.com/inancgumus/learngo/tree/07-printf/exercises/04-print-the-temperature)**
5. **[Double Quotes](https://github.com/inancgumus/learngo/tree/07-printf/exercises/05-double-quotes)**
6. **[Print the Type](https://github.com/inancgumus/learngo/tree/07-printf/exercises/06-print-the-type)**
7. **[Print the Type #2](https://github.com/inancgumus/learngo/tree/07-printf/exercises/07-print-the-type-2)**
8. **[Print the Type #3](https://github.com/inancgumus/learngo/tree/07-printf/exercises/08-print-the-type-3)**
9. **[Print the Type #4](https://github.com/inancgumus/learngo/tree/07-printf/exercises/09-print-the-type-4)**
10. **[Print Your Fullname](https://github.com/inancgumus/learngo/tree/07-printf/exercises/10-print-your-fullname)**