java pgm for reads a file(text file) and removes all the
spaces then the text and write this back into the same file.
e.g:
(Input)
_______
chennai is fourth biggest city in india.
(output)
_______
chennaiisfourthbiggestcityinindia.
No Answer is Posted For this Question
Be the First to Post Answer
What is a closure and how do you use it?
How can you read properties of an Object in JavaScript?
How do I start a javascript project?
How can you get the total number of arguments passed to a function?
why we use javascript in html ?
What are the different objects used in javascripts?
What is use of object as function?
What is missing in my code? function numberTally(numList) { var evenTotal = 0; var oddTotal = 0; for (var i = 0; i <= numList.length; i++) { if i % 2 { // i is odd oddTotal += numList[i]; // or oddTotal = oddTotal + numList[i]; } else { // i is even evenTotal + numList[i]; } } alert(oddTotal); return evenTotal; }
Is javascript a dynamic language?
How can you set position of the page (top and left) to 0 using javascript in one line code?
A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a java program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.
How Does Function Hoisting Work in JavaScript?