Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 175 results for
ifelse
- Page 1
Conditional Structures
Programming
Software Development
13 Years Ago
by raym.mart
Can someone help me solve this! thx Conditional structure , include also the console result. 1. Using switch case design and write a java application that takes as input a single letter and displays the corresponding digit on a telephone. The letters and digits on a telephone are grouped this way: 2=ABC 3=DEF 4=GHI 5=JKL 6=MNO 7=PQRS…
Exception in thread "main" java.lang.NumberFormatException: For input string:
Programming
Software Development
13 Years Ago
by kazumahits
…. here's my code [CODE]import java.io.*; public class
ifelse
{ public static void main(String[] args) throws IOException{ BufferedReader in…) at java.lang.Integer.parseInt(Integer.java:499) at
ifelse
.main(
ifelse
.java:19) this code will come out when i enter…
Radio Button If Statement
Programming
Web Development
16 Years Ago
by pbrookee
… all...I am having a little trouble with using an
ifelse
statement to print information from one page to another. I… 'confirmed' on the next page. How can I do an
ifelse
statement stating if 'this radio button is selected' echo this…
Re: Exception in thread "main" java.lang.NumberFormatException: For input string:
Programming
Software Development
13 Years Ago
by extemer
[B]try this one[/B] [code] import java.io.*; class
ifelse
{ public static void main(String[] args) throws IOException{ BufferedReader in = …
Re: Exception in thread "main" java.lang.NumberFormatException: For input string:
Programming
Software Development
13 Years Ago
by Dupron
… will solve your problem.. [code] import java.io.*; public class
ifelse
{ public static void main(String[] args) throws IOException{ BufferedReader in…
Re: Exception in thread "main" java.lang.NumberFormatException: For input string:
Programming
Software Development
13 Years Ago
by extemer
… the way study it first... [code]import javax.swing.*; class
IfElse
{ public static void main(String[] args){ String Dplay= "\nInvalid…
Re: Exception in thread "main" java.lang.NumberFormatException: For input string:
Programming
Software Development
13 Years Ago
by mitchneys
import java.io.*; public class
ifelse
{ public class InputStreamReader reader=new InputStreamReader (System.in); public class …
Re: Exception in thread "main" java.lang.NumberFormatException: For input string:
Programming
Software Development
13 Years Ago
by jon.kiparsky
[QUOTE=mitchneys;1324796]import java.io.*; public class
ifelse
{ ... int a; System.out.println("Enter your Level"); …
help my code is wrong
Programming
Software Development
2 Years Ago
by Khen Louegie
…6: gender(); break; } } public void
ifelse
() { System.out.println("[10] Legal … case 1: ifex(); break; case 2:
ifelse
(); break; } } public static void main (String…
Re: Help with sed command please.
Programming
Software Development
16 Years Ago
by radoulov
… dict dup /Priority [0 1 2 3] put\ put setpagedevice\ }
ifelse
' currentpagedevice /InputAttributes get 0 get dup null eq { pop } { dup… dict dup /Priority [0 1 2 3] put put setpagedevice }
ifelse
Page 1 1 [/code]
Help with sed command please.
Programming
Software Development
16 Years Ago
by asciiletters
… dict dup /Priority [0 1 2 3] put put setpagedevice }
ifelse
And I want it right before the line containing the…
Re: Help with sed command please.
Programming
Software Development
16 Years Ago
by asciiletters
… dict dup /Priority [0 1 2 3] put\ put setpagedevice\ }
ifelse
Then I ran the script with: sed -f sedscript.sed…
Problems retrieving from database
Programming
Software Development
15 Years Ago
by MadAxel
… retrieve the records from the first selectedindex=0 of the
ifelse
statement and not from the others. That means if i…
A Curious Thing...
Programming
Software Development
15 Years Ago
by archiphile
… code; [ICODE]// This is a program about loops, switch statements,
ifelse
statements //and applying them to another faily simple programme. #include…
Using PHP variables on multiple pages using a MySQL db
Programming
Databases
14 Years Ago
by Bliss C
… the bookstall will be held - it's a simple if/
ifelse
list that displays the dates when the bookstall will be…
Dynamic title errors
Programming
Web Development
14 Years Ago
by whitestream6
… switch statement, but can't get it to work. Tried
ifelse
using code gleaned from Google but it didn't work…
c++ review questions?? help me plse?
Programming
Software Development
14 Years Ago
by lgonzo
been doing reiew questions to prepare for a c++ test, and was hoping someone could help me out by looking over the ansewers i have so far. what i have is in red. thank you very much :) -- Which of the following operations has the highest precedence? a. Postincrement. b. Multiplication. c. Addition. d. Assignment. -- Which of the following …
Using a form to designate which html email body to send
Programming
Web Development
13 Years Ago
by GreaseJunkie
… the one html message. I think I am missing an
ifelse
command, and I also need to know call the different…
function not working
Programming
Web Development
11 Years Ago
by pixelsoul
…; 'second' ); foreach ($a as $secs => $str) { $d = $etimed / $secs;
ifelse
($d >= 1) { $r = round($d); return $r . ' ' . $str . ($r…
Re: function not working
Programming
Web Development
11 Years Ago
by IIM
there are many bugs:- 1) > returned '0 seconds'; instead of this it should be return '0 seconds'; 2) error in line 8.array index should not be there. It should be $a = array( 12 * 30 * 24 * 60 * 60 => 'year', http://php.net/manual/en/language.types.array.php 3) >
ifelse
($d >= 1) Use proper syntax of if-else
PHP and SQL together
Programming
Databases
9 Years Ago
by burt.munn
I need some help with this project. I've gone as far as I can go, with no results, The inquiry form works, but I need to populate it with my sql table. I could only screen shot my sql and I have no idea of how to put it on here. The following is the scenerio: Uploading Information Directly into the Inquiry Table In this scenario you will be using…
Confused as to what to learn.
Programming
Software Development
9 Years Ago
by Scott_9
… programming such as if, whileif, loop, and, or, andif, else,
ifelse
. That is the basics that are still in my head…
New to Daniweb, Returning to Programming.
Community Center
Say Hello!
9 Years Ago
by Scott_9
… programming such as if, whileif, loop, and, or, andif, else,
ifelse
. That is the basics that are still in my head…
Need Help with Exercise in C# Console Application
Programming
Software Development
7 Years Ago
by Karl_6
A community college requires students to finish at least 72 credit hours and have a GPA of 2.0 or above in order to graduate. Create a C# console application to do the following. Ask how many credit hours a student has finished and what GPA this student has. Use only one if…else statement to decide and display whether this student can graduate …
Re: if then else, case
Programming
Software Development
17 Years Ago
by silambarasan
[quote=softwarecaz]hello i have tried to use the
ifelse
statement, it will work for the first one and the second one, but does not work on the third
ifelse
, please help[/quote] Not "
ifelse
", it's "elseif"
Re: if then else, case
Programming
Software Development
18 Years Ago
by softwarecaz
hello i have tried to use the
ifelse
statement, it will work for the first one and the second one, but does not work on the third
ifelse
, please help
Re: help Optimizing code
Programming
Software Development
15 Years Ago
by sciwizeh
…;"; for(int i=0;i<100000;i++){ s =
ifelse
(i); System.out.println(s); s=condit(i); System.out….println(s); } } public static String
ifelse
(int i){ if(i<50000){ return "less"…
Re: c language & php
Programming
Web Development
16 Years Ago
by Auzzie
php.net is a good start ;) plus if you look at the post below entitled
ifelse
, the last post has a nice link that will be useful
Re: create a form with a post
Programming
Web Development
15 Years Ago
by achiman
Thanks everybody that helped me with this problem all i had to do was to insert some if and
ifelse
statements and let the page refer to itself. Thanks again
Re: Using if(isset wrong?
Programming
Web Development
14 Years Ago
by CFROG
… queries. I've tried lots of variations of if, else,
ifelse
.. all with mixed results. I think it comes down to…
1
2
3
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC