-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Java and C++ files to convert pi to new pi and .gitignore
- Loading branch information
1 parent
6117356
commit 0194134
Showing
4 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
|
||
.DS_Store |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#include <iostream> | ||
|
||
int main(){ | ||
|
||
} |
14 changes: 14 additions & 0 deletions
14
Convert different pi numbers to new pi/Old_pi_to_new_pi.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.