Hi,
use following for loops to perform abve task:
for( i =1; i<=5;i++)
for(j =0; j<=i;j++)
print j...
User Profile
Collapse
-
Hi,
You have to use two for loops to display these kind of output.
the for loops can be:-
for( i=1; i<5; i++)
for( j=1; j<=i; j++)
print ( j )
and to search a integer in an 2D array u hve to use again two for loops....Leave a comment:
-
Hi,
You can directly compare the rach value of string using its ASCII code.
i.e. first take a counter & increment it till string length != counter.
Compare the each char in string with ASCII code(ie from 'A' to 'Z' ) that you want to search,if matches then increment a counter....Leave a comment:
-
Transfer text file data to oracle
Directly transfer data from text file to oracle -
No activity results to display
Show More
Leave a comment: