Advertisement
Guest User

Untitled

a guest
Oct 19th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. public class question6 {
  2. public static void main(String[] args) {
  3. String[][] vashist = {
  4. {
  5. "m " , "t" , "w" ,"th","f","Sat","sun"
  6. },
  7. {
  8. "1" , "2" , "3" , "4" , "5" , "6" , "7" , "8" , "9" , "10" , "11" , "12" , "13" , "14" , "15" , "16" , "17" , "18" , "19" , "20" , "21" , "22" , "23" , "24" , "25" , "26" , "27" , "28" , "29" , "30" ,
  9. }
  10.  
  11. } ;
  12. for (int i = 0; i < 7; i++) {
  13. for (int j = 0; j < 30; j++) {
  14. System.out.println(vashist[i][3+i]+"\n" +vashist[j+1][j]);
  15. }
  16.  
  17. }
  18. }
  19.  
  20.  
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement