Mode:
Duration:
1
2
3
4
5
6
7
8
<cfscript>
arr = [1,2,3,4,5];
sum = 0;
for(i=1; i <= arrayLen(arr); i++) {
sum += arr[i];
}
writeOutput(sum);
</cfscript>Coding works best on desktop or with an external keyboard.
<cfscript>
arr = [1,2,3,4,5];
sum = 0;
for(i=1; i <= arrayLen(arr); i++) {
sum += arr[i];
}
writeOutput(sum);
</cfscript>Coding works best on desktop or with an external keyboard.
Calculates the sum of an array of numbers.
<cfscript>
arr = [1,2,3,4,5];
sum = 0;
for(i=1; i <= arrayLen(arr); i++) {
sum += arr[i];
}
writeOutput(sum);
</cfscript>ColdFusion (CFML) is a web application development platform and scripting language designed for rapid development of dynamic websites, web applications, and APIs. It emphasizes ease of use, database integration, and rapid deployment.
Origin & Creator
Developed in 1995 by Allaire Corporation; later acquired by Macromedia and then Adobe Systems.
Industrial Note
ColdFusion remains popular in enterprise organizations with legacy web applications, especially where rapid deployment and database-driven functionality are critical.