Skip to content

Commit

Permalink
Java and C++ files to convert pi to new pi and .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
AsherSeiling committed May 26, 2020
1 parent 6117356 commit 0194134
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

.DS_Store
5 changes: 5 additions & 0 deletions Convert different pi numbers to new pi/Old_pi_to_new_pi.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include <iostream>

int main(){

}
14 changes: 14 additions & 0 deletions Convert different pi numbers to new pi/Old_pi_to_new_pi.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import java.util.Scanner;

public class Old_pi_to_new_pi{
public static void main(final String[] args) {
// Scanner Decleration
Scanner input = new Scanner(System.in);

// First displayed line
System.out.println("Input the variarion of pi you want to convert to new pi");
// Input under the line
Double pi_num_var = input.nextDouble();

}
}
File renamed without changes.

0 comments on commit 0194134

Please sign in to comment.