Hello everyone .....
I am new in java i start learn it from 3 weeks ago so i don't know much abut java .
i want to write a program that ask the user to enter his/her name and the program will print the first name as it is and the last name will be in UpperCase .
the code it print this error " <identifier> expected "in this line prevCh='.';
[PHP]import javax.swing.*;
...
User Profile
Collapse
-
I have a problem to solve summation in c++
Hi , Every one I have a problem to solve this summation in c++ ;
1/3 + 3/5 +5/7 .......
this the program I wrote
Code:#include <stdio.h> #include <iostream.h> #include <conio.h> #include <math.h> main() { int i=3.0,j=1.0,d,N; cout<<"Enter Number "; cin>>N; float sum; while(j<=N
-
It just enter the full name it doesn't separate.
-------------
this the run
http://www.el3mlak.net/up/images/5262412f.png
-------------------------
1+2 - 3+4 - 5+6 ...... N
here the run show -45.000
---------------------
this is the run
http://www.el3mlak.net/up/images/3893144f.png
... -
in a first program i want it to enter full name word[10] ;
let's say the user enter " sasuke naruto gaara "
it Suppose to separate the name into first name " sasuke" i want it to store it in f[10] and the middle name " naruto" stored in m[10] and the last name"gaara" stored in l[10]
the program i post it work but does't do that
it enterd the full name but doesn't separate the name...Leave a comment:
-
some problem in C++
Hi , Every one I really need some help in my programs it doesn't work as I want I know there something wrong in it if you know where the wrong is just show me plz as soon as Possible plzzzzz.
I a Beginner in C++ ;
I will be thankful for you .
------------------------
first program : I need the user to enter his/her full name and then the program separate the string to first name , middle name and the last... -
some problem in C++
Hi , Every one I really need some help in my programs it doesn't work as I want I know there something wrong in it if you know where the wrong is just show me plz as soon as Possible plzzzzz.
I a Beginner in C++ ;
I will be thankful for you .
------------------------
first program : I need the user to enter his/her full name and then the program separate the string to first name , middle name and the last...
No activity results to display
Show More
Leave a comment: