This file contains hidden or 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
#include<iostream> | |
using namespace std; | |
int main() | |
{ | |
int x, y, flag = 1; | |
char array[1000]; | |
cout<<"Enter X-coordinate:"; | |
cin>>x; | |
cout<<"Enter Y-coordinate:"; | |
cin>>y; |
This file contains hidden or 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
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
int i, j, k, n, m, word_len=0, br=0; | |
char arr1[100]; | |
char arr2[100][100]; | |
cout<<"Enter a word"<<endl; | |
cin>>arr1; | |
cout<<"Enter number of rows: "<<endl; |
This file contains hidden or 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
/* | |
!!!!! | |
For resolving the problem, I am using org.json files. They can be downloaded from: http://www.json.org/java/index.html | |
!!!!! | |
*/ | |
package Main; | |
import org.json.*; | |
import java.io.File; | |
import java.io.FileNotFoundException; |