Is this right??? @@@@@@ Answer ASAP?
Question: Is this right??? @@@@@@ Answer ASAP?
I’m doing Java programming for my Computer Science class using the “Ready to Program Java” software (Google it if you don’t know what it is) and I just wanted to know if I did this problem right…
Here’s the question:
Create an applet that displays your first name in every even number font size from 4 through 25.
Here’s how I programmed it:
public void paint (Graphics g)
{
int x = 0;
int z = 0;
for (int y = x + 2 ; y <= 25 ; y++)
{
Font font = new Font ("TimesRoman", Font.PLAIN, y);
z = z + 20;
g.setFont (font);
g.drawString ("My Name", z, z);
}
***Note: I just copy and pasted the code from my program, and I did not include all of it (Like brace brackets etc.)
I just want to know how to code it, I know everything else.
Thanks, I need the answer ASAP please.
Answer:
Answer by Jesus Christ
gl
Plz someone help me to understand this ?Plz Plz Plz help me ….. ?
Question: Plz someone help me to understand this ?Plz Plz Plz help me ….. ?
I want to add a widget code to my blogger blog. For some reason my html/ javascript is not working. So i want to do it with “add html” . but i have tried a lot. i could not understand where to put my code. I don’t have much knowledge about html and all. I am new to internate. If someone help me where to put it .
This is my code….
document.write( myFriendsWidget );
My html is
Blogger Template Style
Name: Minima Lefty Stretch
Designer: Douglas Bowman / Darren Delaye
URL: www.stopdesign.com
Date: 14 Jul 2006
----------------------------------------------- */
/* Variable definitions
====================
default="normal normal 78% 'Trebuchet MS',Trebuchet,Arial,Verdana,Sans-serif" value="normal bold 78% Courier, monospace">
default="normal normal 200% Georgia, Serif" value="normal bold 348% Times, serif">
default="normal normal 78% 'Trebuchet MS', Trebuchet, Arial, Verdana, Sans-serif" value="normal normal 68% Times, serif">
default="normal normal 78% 'Trebuchet MS', Trebuchet, Arial, Verdana, Sans-serif" value="normal normal 78% 'Trebuchet MS', Trebuchet, Arial, Verdana, Sans-serif">
*/
/* Use this with templates/template-twocol.html */
body {
background:$ bgcolor;
margin:0;
color:$ textcolor;
font:x-small Georgia Serif;
font-size/* */:/**/small;
font-size: /**/small;
text-align: center;
}
a:link {
color:$ linkcolor;
text-decoration:none;
}
a:visited {
color:$ visitedlinkcolor;
text-decoration:none;
}
a:hover {
color:$ titlecolor;
text-decoration:underline;
}
a img {
border-width:0;
}
/* Header
———————————————–
*/
#header-wrapper {
margin:0 2% 10px;
border:1px solid $ bordercolor;
}
#header-inner {
background-position: center;
margin-$ startSide: auto;
margin-$ endSide: auto;
}
#header {
margin: 5px;
border: 1px solid $ bordercolor;
text-align: center;
color:$ pagetitlecolor;
}
#header h1 {
margin:5px 5px 0;
padding:15px 20px .25em;
line-height:1.2em;
text-transform:uppercase;
letter-spacing:.2em;
font:
Answer:
Answer by 23 year old
This is “Languages” section, my dear. Post the same question under “Computers & Internet”
