From 297fd1781a0c839cbecf0d0397ed4012af74c82a Mon Sep 17 00:00:00 2001 From: sethisiddha1998 Date: Sat, 18 Feb 2017 20:56:34 -0800 Subject: [PATCH 1/2] try.c fantastic --- try.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 try.c diff --git a/try.c b/try.c new file mode 100644 index 000000000000..c291b06c3b97 --- /dev/null +++ b/try.c @@ -0,0 +1,10 @@ +#include +#include + +int main(int argc, char const *argv[]) { + FILE *f; + f=fopen("fan.java","w"); + fprintf(f,"import java.io.*;\n"); + fprintf(f, "\n\npublic class sanu\n{\n\tpublic static void main(String args[])\n\t{\n\t\tSystem.out.println(\"Hello this is fantastic\");\n\t}\n}"); + return 0; +} From 608497dc6db40fd67555c890bdca1768381d6049 Mon Sep 17 00:00:00 2001 From: sethisiddha1998 Date: Sat, 18 Feb 2017 20:57:06 -0800 Subject: [PATCH 2/2] pro1.c fantastic --- pro1.c | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pro1.c diff --git a/pro1.c b/pro1.c new file mode 100644 index 000000000000..c291b06c3b97 --- /dev/null +++ b/pro1.c @@ -0,0 +1,10 @@ +#include +#include + +int main(int argc, char const *argv[]) { + FILE *f; + f=fopen("fan.java","w"); + fprintf(f,"import java.io.*;\n"); + fprintf(f, "\n\npublic class sanu\n{\n\tpublic static void main(String args[])\n\t{\n\t\tSystem.out.println(\"Hello this is fantastic\");\n\t}\n}"); + return 0; +}