-
Notifications
You must be signed in to change notification settings - Fork 0
Home
C$WP stands for a Loosely coupled Type-0 remoteweb/web application. it is invented by wilmix jemin j
in JDollar and J$shell programming language.
//indicates that remote /webapplication using cjava java.util.*; //load cjava util packages. <% public class { public void main() // main function of Cjava { //loosely coupling using Cjava @ #; !(100000); int yo=Integer.Int($.StringConvert()) + 5; //at first convert to string and then convert to integer.... } } %> ?> java.util.*; <% public class index { public void main() { HTML.displayhtml("BILL.html"); //loosely coupling using Cjava @ y#; y!(100000); int yo=Integer.Int(y$.StringConvert()) + 5; CDollar.Println(""+yo); } } %> ?>.util; Security;
CUTIL;
Program5 {
<CLASS> Prog
{
public void Main()
{
wdbaconn.JSTARWDBAQUERY("datastores", "USEDATABASE", "dbpwds", "C:\Programs\WNOSQL\WNOSQLProgramfiles\WNOSQL-cod");
wdbaconn.JSTARWDBAUSERQUERY("dbuser", "dbpwds", "wilmix78", "wilmix78");
String qh2="SELECTRVAL from electricitybill 7 to 24 , 1 to 5 ?= A By 1 1 : {0} : {0} :{0}";
wdbaconn.WDBAQUERY(qh2);
ArrayLinearList x = new ArrayLinearList();
{String s=Secure.RetreiveSecure("output.wdba" ,0); //retrieve the query output from wdba file
s=s.Replace("[","").Replace("]","");
string []ename = s.Split(' ');
int lengthA = ename.Length;
(" "); ("
"); (" "); ("Electricity customers..."); ("
********************");
int c=0;
for (int i=7;i<lengthA;i+=1) {
//("
");
x.add(c,ename[i].Replace(",","").Replace("%2F","/").Replace("%40","@").Replace("+"," ")); c++; } (" |
(" "); (" ");
// output using an iterator
Iterator y = x.iterator();
while (y.hasNext())
<PRINTLN>(y.next() + " ");
Environment.Exit(-1);
}
( e)
{
}
}
}
}
.util; Security;
CUTIL;
CDollar.WDBA; WDBA;
Program5 {
<CLASS> Prog
{
static string name, consumerId, consumerType; static double pressure = 5.5;
public static void totalBill(double consumerUnit)
{
double Month =( pressure * consumerUnit) * 1;
(" "+ Month+"/- ");
}
public void Main()
{
ArrayList arm1= new ArrayList();
arm1.add("Sno"); arm1.add("Lno"); arm1.add("Billdetails"); arm1.add("Units");
arm1.add("NOT");
("");
(" <style>");
("table, th, td {"); (" border: 1px solid black; "); ("}"); ("</style>"); ("");
("");
("
");ArrayList armg= Request.Query(arm1,"electricitybill.cl.dsn",4,1);
string s=armg.get(0).ToString();
("<table style='width:100%;'cellpadding=10 cellspcing=5 bgcolor=gold >");
("");
("
TAMILNADU ELECTRIC SUPPLY UNIT
");("
ELECTRIC SUPPLY RECEIPT
");("
Name:
SNO:"+s+"
"); ("Electricity No:
"); ("Receipt NO:
DAY:
"); (" ");("");
(" LNO ");
(" BILL DETAILS");
(" UNITS ");
(" Amount(Rs) ");
("
");(" ");
("
");(" ");
(" "+armg.get(1).ToString()+"");
(""+armg.get(2).ToString().Replace("%40++","@").Replace("%2F","/").Replace("+"," ")+"");
(" "+armg.get(3).ToString()+" units");
double units =Convert.ToDouble(armg.get(3).ToString()); totalBill(units);
("
");(" ");
(" ");
("
");("");
("
");
("
");
("
");
("
");
("
");
("
");
("
");
("
");
("
");
("
");
("
");
("
");
("");
("
Electricity accountant Signature
");("");
String g = WDBASQL.WDBASQLS("datastores", "USEDATABASE", "dbpwds", "C:\Programs\WNOSQL\WNOSQLProgramfiles\WNOSQL-cod");
String t = WDBASQL.WDBASQLS("dbuser", "dbpwds", 1, "wilmix78", "wilmix78", 1, 5, g);
//String q = "CREATETABLE from electricitybill 0 to 0 , 1 to 5 ?= 6639 By 6639 f(x) : {SNO,LNO,BILLDETAILS,UNITS}: {} :{2,4}";
//wdbaconn.WDBAQUERY(q);
Char c= ' ';
ArrayList datas1=WDBASQL.Query("TABLESIZE()","electricitybill","0",null,19,"","", null,"",0,"","",c,null,t,1,5);
String t1="";
t1=armg.get(0).ToString()+","+armg.get(1).ToString()+","+armg.get(2).ToString()+","+armg.get(3).ToString();
String s12 ="INSERTINTO from electricitybill 0 to "+datas1.size()+" , 1 to 5 ?= A By 1 1 : {0} : {"+t1+"} : {0}";
wdbaconn.WDBAQUERY(s12);
}
}
}
<title>Electricity Bill Calculation</title> <style> form { border: 3px solid #f1f1f1; } input[type=text], input[type=password] { width: 100%; padding: 12px 20px; margin: 8px 0; display: inline-block; border: 1px solid #ccc; box-sizing: border-box; } button { background-color: #4CAF50; color: white; padding: 14px 20px; margin: 8px 0; border: none; cursor: pointer; width: 100%; } button:hover { opacity: 0.8; } .cancelbtn { width: auto; padding: 10px 18px; background-color: #f44336; } .imgcontainer { text-align: center; margin: 24px 0 12px 0; } img.avatar { width: 40%; border-radius: 50%; } .container { padding: 16px; } span.psw { float: right; padding-top: 16px; } /* Change styles for span and cancel button on extra small screens */ @media screen and (max-width: 300px) { span.psw { display: block; float: none; } .cancelbtn { width: 100%; } } </style> <div id="pageContent">
<div id="chaptersAccordion">
<h2><a href="#chapter1">ELECTRICITY BILL CALCULATION</a></h2>
<div class="container">
Enter Your SNO:
Enter your L.N.O :
Kindly Enter Bill Details :
UNITS USED :
</div>
<div class="container" style="background-color:#f1f1f1">
<input type="submit" name="CALCULATE" value="CALCULATE">
Click here to view ELECTRICITY BILL CUSTOMERS ...
</div>
=>It saves time and cost
=>It has automatic garbic collection.
=>It is a pure oops language.
=>It is a Loosely coupled webapplication. ie) C$WP
=>It has attraction syntax.
=>Includes all advantages of java
=>It is also focused for enterprise design
=>It accepts webassembly format. => learnable and used with J$ => SAVES time and cost...