diff --git a/Hackerrank/Solution.java b/Hackerrank/Solution.java new file mode 100644 index 00000000..65006f1f --- /dev/null +++ b/Hackerrank/Solution.java @@ -0,0 +1,22 @@ + +/* +* https://www.hackerrank.com/challenges/java-stdin-and-stdout-1/problem +*/ + +import java.util.Scanner; + +public class Solution { + + public static void main(String[] args) { + Scanner scan = new Scanner(System.in); + int i = scan.nextInt(); + scan.nextLine(); // Consume the newline character after reading the int + double d = scan.nextDouble(); + scan.nextLine(); // Consume the newline character after reading the double + String s = scan.nextLine(); + + System.out.println("String: " + s); + System.out.println("Double: " + d); + System.out.println("Int: " + i); + } +} diff --git a/README.md b/README.md index 791a2e2c..fe56a7aa 100644 --- a/README.md +++ b/README.md @@ -102,6 +102,7 @@ In this repository, you can find the solutions (as source code) for the problems | [Nauman Chaudhary](https://github.com/nauman-chaudhary)
| Pakistan | Python | | | [Gourav Rusiya](https://github.com/GouravRusiya30)
| India | Java | https://www.hackerrank.com/gouravrusiya786 | | [Trushita Maurya](https://github.com/trushita23)
| India | Java +| [Syed Khaja Moinuddin](https://github.com/s-yed)
| India | Java | ### License [![MIT Licence](https://badges.frapsoft.com/os/mit/mit.svg?v=103)](https://github.com/ows-ali/Hacktoberfest/blob/master/LICENSE) diff --git a/Udacity/BookListingAndroidApp/README.md b/Udacity/BookListingAndroidApp/README.md index 873e020d..17a4a88f 100644 --- a/Udacity/BookListingAndroidApp/README.md +++ b/Udacity/BookListingAndroidApp/README.md @@ -1,31 +1,28 @@ -## BookListingApp -Project which comes under Udacity Android Basics Nanodegree Program +# BookListingApp +Project under Udacity Android Basics Nanodegree Program + +## Table of Contents +- [Project Overview](#project-overview) +- [Why This Project?](#why-this-project) +- [What Will I Learn?](#what-will-i-learn) +- [Requirements](#requirements) +- [Setup Instructions](#setup-instructions) +- [Final Output - Screenshots](#final-output---screenshots) +- [Download](#download) +- [Contribution Guidelines](#contribution-guidelines) ## Project Overview -The goal is to design and create the structure of a Book Listing app which would allow a user to get a list of published books on a given topic. You will be using the google books api in order to fetch results and display them to the user. +The goal is to design and create the structure of a Book Listing app that allows a user to get a list of published books on a given topic. You will use the Google Books API to fetch results and display them to the user. -## Why this project? -I learned about the web and about how to get data from an api. I also learned how to parse that data and display it to a user. This project gives me the ability to practice those skills, which will be key in developing any app which makes use of a backend server, real time data, or interactions over the internet. +## Why This Project? +This project helps you learn about the web and how to get data from an API. You will also learn how to parse that data and display it to a user. This project is key for developing any app that makes use of a backend server, real-time data, or interactions over the internet. -## What will I learn? -This project is about combining various ideas and skills we’ve been practicing throughout the course. They include: - -1. Fetching data from an API -2. Using an AsyncTask -3. Parsing a JSON response -4. Creating a list based on that data and displaying it to the user. +## What Will I Learn? +This project combines various ideas and skills practiced throughout the course, including: +- Fetching data from an API +- Using an AsyncTask +- Parsing a JSON response +- Creating a list based on that data and displaying it to the user ## Requirements -To achieve this, I'll make use of the [Google Books API](https://developers.google.com/books/docs/v1/getting_started#intro). This is a well-maintained API which returns information in a JSON format. -An example query that we found useful was : - -https://www.googleapis.com/books/v1/volumes?q=android&maxResults=1 - -## Final Output - Screenshots - -Screen 1 |Screen 2 -:--------------------------------:|:--------------------------------: -![](app/screenshots/screen1.png) |![](app/screenshots/screen2.png) - -## Download -You can download the apk here [BookListingApp](../../raw/master/app/screenshots/app-debug.apk) +To achieve this, we'll use the [Google Books API](https://developers.google.com/books/docs/v1/getting_started#intro). This is a well-maintained API that returns information in JSON format.